aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-04-22 17:11:51 -0400
committerDave Chinner <david@fromorbit.com>2014-04-22 17:11:51 -0400
commitf37211c336d722805493aec8b13afdbb92bbfd98 (patch)
treeb5870df11bc07a5a946e9f355f2df670a785723b /fs/xfs/xfs_inode.c
parent22328d712dd7fdc984d17da2121be840d1f844cd (diff)
xfs: remove XFS_IFILESTREAM
We never test the flag except in xfs_inode_is_filestream, but that function already tests the on-disk flag or filesystem wide flags, and is used to decide if we want to set XFS_IFILESTREAM in the first place. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 5e7a38fa6ee6..3328320592a6 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -849,8 +849,6 @@ xfs_ialloc(
849 error = xfs_filestream_associate(pip, ip); 849 error = xfs_filestream_associate(pip, ip);
850 if (error < 0) 850 if (error < 0)
851 return -error; 851 return -error;
852 if (!error)
853 xfs_iflags_set(ip, XFS_IFILESTREAM);
854 } 852 }
855 853
856 *ipp = ip; 854 *ipp = ip;