diff options
author | Barry Naujok <bnaujok@sgi.com> | 2006-06-09 00:54:19 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-06-09 00:54:19 -0400 |
commit | d3446eac3f50dade2f09ed212b112609ee78fb33 (patch) | |
tree | c3cf3fd0349975ef72e78a1ebbd06725c5b34d2a /fs/xfs/xfs_vnodeops.c | |
parent | fbc1462bcb421620a04eb390fc79a2615c9d01d0 (diff) |
[XFS] Add degframentation exclusion support
SGI-PV: 953061
SGI-Modid: xfs-linux-melb:xfs-kern:25986a
Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index 2b814f04176d..d1c6349e4018 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -799,6 +799,8 @@ xfs_setattr( | |||
799 | di_flags |= XFS_DIFLAG_NODUMP; | 799 | di_flags |= XFS_DIFLAG_NODUMP; |
800 | if (vap->va_xflags & XFS_XFLAG_PROJINHERIT) | 800 | if (vap->va_xflags & XFS_XFLAG_PROJINHERIT) |
801 | di_flags |= XFS_DIFLAG_PROJINHERIT; | 801 | di_flags |= XFS_DIFLAG_PROJINHERIT; |
802 | if (vap->va_xflags & XFS_XFLAG_NODEFRAG) | ||
803 | di_flags |= XFS_DIFLAG_NODEFRAG; | ||
802 | if ((ip->i_d.di_mode & S_IFMT) == S_IFDIR) { | 804 | if ((ip->i_d.di_mode & S_IFMT) == S_IFDIR) { |
803 | if (vap->va_xflags & XFS_XFLAG_RTINHERIT) | 805 | if (vap->va_xflags & XFS_XFLAG_RTINHERIT) |
804 | di_flags |= XFS_DIFLAG_RTINHERIT; | 806 | di_flags |= XFS_DIFLAG_RTINHERIT; |