diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_iops.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_iops.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c index 76b570dd1ab2..7aa53fefc67f 100644 --- a/fs/xfs/linux-2.6/xfs_iops.c +++ b/fs/xfs/linux-2.6/xfs_iops.c | |||
@@ -159,8 +159,6 @@ xfs_init_security( | |||
159 | } | 159 | } |
160 | 160 | ||
161 | error = xfs_attr_set(ip, name, value, length, ATTR_SECURE); | 161 | error = xfs_attr_set(ip, name, value, length, ATTR_SECURE); |
162 | if (!error) | ||
163 | xfs_iflags_set(ip, XFS_IMODIFIED); | ||
164 | 162 | ||
165 | kfree(name); | 163 | kfree(name); |
166 | kfree(value); | 164 | kfree(value); |
@@ -261,7 +259,6 @@ xfs_vn_mknod( | |||
261 | error = _ACL_INHERIT(inode, mode, default_acl); | 259 | error = _ACL_INHERIT(inode, mode, default_acl); |
262 | if (unlikely(error)) | 260 | if (unlikely(error)) |
263 | goto out_cleanup_inode; | 261 | goto out_cleanup_inode; |
264 | xfs_iflags_set(ip, XFS_IMODIFIED); | ||
265 | _ACL_FREE(default_acl); | 262 | _ACL_FREE(default_acl); |
266 | } | 263 | } |
267 | 264 | ||
@@ -377,7 +374,6 @@ xfs_vn_link( | |||
377 | if (unlikely(error)) | 374 | if (unlikely(error)) |
378 | return -error; | 375 | return -error; |
379 | 376 | ||
380 | xfs_iflags_set(XFS_I(dir), XFS_IMODIFIED); | ||
381 | atomic_inc(&inode->i_count); | 377 | atomic_inc(&inode->i_count); |
382 | d_instantiate(dentry, inode); | 378 | d_instantiate(dentry, inode); |
383 | return 0; | 379 | return 0; |
@@ -888,7 +884,6 @@ xfs_setup_inode( | |||
888 | inode->i_ctime.tv_sec = ip->i_d.di_ctime.t_sec; | 884 | inode->i_ctime.tv_sec = ip->i_d.di_ctime.t_sec; |
889 | inode->i_ctime.tv_nsec = ip->i_d.di_ctime.t_nsec; | 885 | inode->i_ctime.tv_nsec = ip->i_d.di_ctime.t_nsec; |
890 | xfs_diflags_to_iflags(inode, ip); | 886 | xfs_diflags_to_iflags(inode, ip); |
891 | xfs_iflags_clear(ip, XFS_IMODIFIED); | ||
892 | 887 | ||
893 | switch (inode->i_mode & S_IFMT) { | 888 | switch (inode->i_mode & S_IFMT) { |
894 | case S_IFREG: | 889 | case S_IFREG: |