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
- Lines: 18
- Date:
Sun Feb 13 13:04:48 2000
- Orig file:
v2.3.44/linux/fs/umsdos/namei.c
- Orig date:
Tue Dec 14 01:27:24 1999
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, [email protected]
TCL-scripts by Sam Shen (who was at: [email protected])