Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   dholland
Date:           Mon Jan 28 14:31:21 UTC 2008

Modified Files:
        src/sys/coda: coda_vfsops.c
        src/sys/conf: files
        src/sys/fs/adosfs: advfsops.c
        src/sys/fs/cd9660: cd9660_vfsops.c
        src/sys/fs/filecorefs: filecore_vfsops.c
        src/sys/fs/hfs: hfs_vfsops.c
        src/sys/fs/msdosfs: msdosfs_vfsops.c
        src/sys/fs/ntfs: ntfs_vfsops.c
        src/sys/fs/ptyfs: ptyfs_vfsops.c
        src/sys/fs/puffs: puffs_vfsops.c
        src/sys/fs/smbfs: smbfs_vfsops.c
        src/sys/fs/sysvbfs: sysvbfs.c
        src/sys/fs/tmpfs: tmpfs_vfsops.c
        src/sys/fs/udf: udf_vfsops.c
        src/sys/fs/union: union_vfsops.c
        src/sys/kern: vfs_subr2.c vfs_syscalls.c
        src/sys/miscfs/fdesc: fdesc_vfsops.c
        src/sys/miscfs/genfs: genfs.h layer_extern.h layer_vfsops.c
        src/sys/miscfs/kernfs: kernfs_vfsops.c
        src/sys/miscfs/nullfs: null_vfsops.c
        src/sys/miscfs/overlay: overlay_vfsops.c
        src/sys/miscfs/portal: portal_vfsops.c
        src/sys/miscfs/procfs: procfs_vfsops.c
        src/sys/miscfs/umapfs: umap_vfsops.c
        src/sys/nfs: nfs_serv.c nfs_vfsops.c
        src/sys/sys: mount.h
        src/sys/ufs/ext2fs: ext2fs_vfsops.c
        src/sys/ufs/ffs: ffs_vfsops.c
        src/sys/ufs/lfs: lfs_vfsops.c
        src/sys/ufs/mfs: mfs_vfsops.c

Log Message:
Fix some race conditions in rename.
Introduce a per-FS rename lock and new vfsops to manipulate it.
Get this lock while renaming. Also add another relookup() in do_sys_rename,
which is a hack to kludge around some of the worst deficiencies of
ufs_rename.
reviewed-by: pooka (and an earlier rev by ad)
posted on tech-kern with no objections.


To generate a diff of this commit:
cvs rdiff -r1.63 -r1.64 src/sys/coda/coda_vfsops.c
cvs rdiff -r1.888 -r1.889 src/sys/conf/files
cvs rdiff -r1.47 -r1.48 src/sys/fs/adosfs/advfsops.c
cvs rdiff -r1.54 -r1.55 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -r1.46 -r1.47 src/sys/fs/filecorefs/filecore_vfsops.c
cvs rdiff -r1.15 -r1.16 src/sys/fs/hfs/hfs_vfsops.c
cvs rdiff -r1.59 -r1.60 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -r1.61 -r1.62 src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -r1.30 -r1.31 src/sys/fs/ptyfs/ptyfs_vfsops.c
cvs rdiff -r1.77 -r1.78 src/sys/fs/puffs/puffs_vfsops.c
cvs rdiff -r1.76 -r1.77 src/sys/fs/smbfs/smbfs_vfsops.c
cvs rdiff -r1.8 -r1.9 src/sys/fs/sysvbfs/sysvbfs.c
cvs rdiff -r1.35 -r1.36 src/sys/fs/tmpfs/tmpfs_vfsops.c
cvs rdiff -r1.34 -r1.35 src/sys/fs/udf/udf_vfsops.c
cvs rdiff -r1.50 -r1.51 src/sys/fs/union/union_vfsops.c
cvs rdiff -r1.13 -r1.14 src/sys/kern/vfs_subr2.c
cvs rdiff -r1.343 -r1.344 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.72 -r1.73 src/sys/miscfs/fdesc/fdesc_vfsops.c
cvs rdiff -r1.22 -r1.23 src/sys/miscfs/genfs/genfs.h
cvs rdiff -r1.23 -r1.24 src/sys/miscfs/genfs/layer_extern.h
cvs rdiff -r1.28 -r1.29 src/sys/miscfs/genfs/layer_vfsops.c
cvs rdiff -r1.82 -r1.83 src/sys/miscfs/kernfs/kernfs_vfsops.c
cvs rdiff -r1.72 -r1.73 src/sys/miscfs/nullfs/null_vfsops.c
cvs rdiff -r1.47 -r1.48 src/sys/miscfs/overlay/overlay_vfsops.c
cvs rdiff -r1.69 -r1.70 src/sys/miscfs/portal/portal_vfsops.c
cvs rdiff -r1.76 -r1.77 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -r1.74 -r1.75 src/sys/miscfs/umapfs/umap_vfsops.c
cvs rdiff -r1.133 -r1.134 src/sys/nfs/nfs_serv.c
cvs rdiff -r1.192 -r1.193 src/sys/nfs/nfs_vfsops.c
cvs rdiff -r1.171 -r1.172 src/sys/sys/mount.h
cvs rdiff -r1.128 -r1.129 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -r1.220 -r1.221 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.253 -r1.254 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.87 -r1.88 src/sys/ufs/mfs/mfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index