diff options
Diffstat (limited to 'fs/xfs/xfs_file.c')
-rw-r--r-- | fs/xfs/xfs_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 52883ac3cf84..f7333fbba5c2 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c | |||
@@ -156,9 +156,9 @@ xfs_update_prealloc_flags( | |||
156 | xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); | 156 | xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); |
157 | 157 | ||
158 | if (!(flags & XFS_PREALLOC_INVISIBLE)) { | 158 | if (!(flags & XFS_PREALLOC_INVISIBLE)) { |
159 | ip->i_d.di_mode &= ~S_ISUID; | 159 | VFS_I(ip)->i_mode &= ~S_ISUID; |
160 | if (ip->i_d.di_mode & S_IXGRP) | 160 | if (VFS_I(ip)->i_mode & S_IXGRP) |
161 | ip->i_d.di_mode &= ~S_ISGID; | 161 | VFS_I(ip)->i_mode &= ~S_ISGID; |
162 | xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG); | 162 | xfs_trans_ichgtime(tp, ip, XFS_ICHGTIME_MOD | XFS_ICHGTIME_CHG); |
163 | } | 163 | } |
164 | 164 | ||