diff options
Diffstat (limited to 'fs/xfs/xfs_ioctl.c')
-rw-r--r-- | fs/xfs/xfs_ioctl.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c index 2d8f4fdf07f9..55724c8b204b 100644 --- a/fs/xfs/xfs_ioctl.c +++ b/fs/xfs/xfs_ioctl.c | |||
@@ -1228,15 +1228,8 @@ xfs_ioctl_setattr( | |||
1228 | olddquot = xfs_qm_vop_chown(tp, ip, | 1228 | olddquot = xfs_qm_vop_chown(tp, ip, |
1229 | &ip->i_pdquot, pdqp); | 1229 | &ip->i_pdquot, pdqp); |
1230 | } | 1230 | } |
1231 | ASSERT(ip->i_d.di_version > 1); | ||
1231 | xfs_set_projid(ip, fa->fsx_projid); | 1232 | xfs_set_projid(ip, fa->fsx_projid); |
1232 | |||
1233 | /* | ||
1234 | * We may have to rev the inode as well as | ||
1235 | * the superblock version number since projids didn't | ||
1236 | * exist before DINODE_VERSION_2 and SB_VERSION_NLINK. | ||
1237 | */ | ||
1238 | if (ip->i_d.di_version == 1) | ||
1239 | xfs_bump_ino_vers2(tp, ip); | ||
1240 | } | 1233 | } |
1241 | 1234 | ||
1242 | } | 1235 | } |