patch-2.3.45 linux/fs/umsdos/namei.c

Next file: linux/include/asm-alpha/pgtable.h
Previous file: linux/fs/umsdos/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.44/linux/fs/umsdos/namei.c linux/fs/umsdos/namei.c
@@ -731,6 +731,8 @@
 oldinode->i_ino, oldinode->i_nlink));
 		newattrs.ia_valid = 0;
 		ret = umsdos_notify_change_locked(olddentry, &newattrs);
+		if (ret == 0)
+			mark_inode_dirty(olddentry->d_inode);
 	}
 	if (olddir != dir)
 		up(&olddir->i_sem);
@@ -1069,6 +1071,8 @@
 		inode->i_nlink--;
 		newattrs.ia_valid = 0;
 		ret = umsdos_notify_change_locked(link, &newattrs);
+		if (!ret)
+			mark_inode_dirty(link->d_inode);
 	}
 
 out_cleanup:

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