Message ID | 170404854342.1769544.1524332572634769354.stgit@frogsfrogsfrogs (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/3] xfs: only free posteof blocks on first close | expand |
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 334f87f7a8f3f..dc0710661013f 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -1207,9 +1207,7 @@ xfs_release( if (error) goto out_unlock; - /* delalloc blocks after truncation means it really is dirty */ - if (ip->i_delayed_blks) - xfs_iflags_set(ip, XFS_IDIRTY_RELEASE); + xfs_iflags_set(ip, XFS_IDIRTY_RELEASE); } out_unlock: