xfs: add EOFBLOCKS inode tagging/untagging
[deliverable/linux.git] / fs / xfs / xfs_vnodeops.c
index 2ee1f49da0aa70eed076c03d4ebfef78f172acef..e6e1d11dfdf268fa88155030cc9b489097d668fc 100644 (file)
@@ -238,6 +238,8 @@ xfs_free_eofblocks(
                } else {
                        error = xfs_trans_commit(tp,
                                                XFS_TRANS_RELEASE_LOG_RES);
+                       if (!error)
+                               xfs_inode_clear_eofblocks_tag(ip);
                }
 
                xfs_iunlock(ip, XFS_ILOCK_EXCL);
This page took 0.025114 seconds and 5 git commands to generate.