patch-1.3.77 linux/fs/msdos/namei.c

Next file: linux/fs/nfs/nfsroot.c
Previous file: linux/drivers/sound/configure.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.76/linux/fs/msdos/namei.c linux/fs/msdos/namei.c
@@ -590,7 +590,6 @@
 	mark_buffer_dirty(old_bh, 1);
 	/* update binary info for conversion, i_attrs */
 	if ((old_inode = iget(old_dir->i_sb,old_ino)) != NULL) {
-		msdos_read_inode(old_inode);
 		MSDOS_I(old_inode)->i_attrs = is_hid
 			? (MSDOS_I(old_inode)->i_attrs |  ATTR_HIDDEN)
 			: (MSDOS_I(old_inode)->i_attrs &~ ATTR_HIDDEN);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this