patch-2.3.45 linux/fs/affs/inode.c

Next file: linux/fs/attr.c
Previous file: linux/fs/adfs/map.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.44/linux/fs/affs/inode.c linux/fs/affs/inode.c
@@ -249,9 +249,8 @@
 	if (attr->ia_valid & ATTR_MODE)
 		inode->u.affs_i.i_protect = mode_to_prot(attr->ia_mode);
 
-	inode_setattr(inode, attr);
-	mark_inode_dirty(inode);
 	error = 0;
+	inode_setattr(inode, attr);
 out:
 	return error;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)