cvs commit: src/sys/vfs/msdosfs msdosfs_denode.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jul 30 18:20:14 PDT 2007
dillon 2007/07/30 18:16:53 PDT
DragonFly src repository
Modified files:
sys/vfs/msdosfs msdosfs_denode.c
Log:
Detect the case where rename()ing over a file that has been unlinked but
is still open was reporting an inode hash collision instead of a fatal
error. msdosfs uses the position of the directory entry within the directory
to identify the inode and a new file cannot be created if the removed file
is still held open by a program.
Reported-by: walt <wa1ter at myrealbox.com>
Revision Changes Path
1.31 +11 -3 src/sys/vfs/msdosfs/msdosfs_denode.c
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/msdosfs/msdosfs_denode.c.diff?r1=1.30&r2=1.31&f=u
More information about the Commits
mailing list