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:   ad
Date:           Wed Jan 30 11:47:05 UTC 2008

Modified Files:
        src/sys/coda: coda_psdev.c
        src/sys/compat/common: vfs_syscalls_20.c
        src/sys/compat/netbsd32: netbsd32_compat_20.c
        src/sys/compat/ultrix: ultrix_fs.c
        src/sys/fs/cd9660: cd9660_vfsops.c
        src/sys/fs/filecorefs: filecore_vfsops.c
        src/sys/fs/msdosfs: msdosfs_vfsops.c
        src/sys/fs/ntfs: ntfs_vfsops.c
        src/sys/fs/puffs: puffs_msgif.c
        src/sys/fs/union: union_vnops.c
        src/sys/kern: vfs_lookup.c vfs_subr.c vfs_subr2.c vfs_syscalls.c
        src/sys/miscfs/procfs: procfs_linux.c
        src/sys/miscfs/syncfs: sync_vnops.c
        src/sys/nfs: nfs_export.c nfs_vfsops.c
        src/sys/sys: mount.h
        src/sys/ufs/ext2fs: ext2fs_vfsops.c
        src/sys/ufs/ffs: ffs_snapshot.c ffs_vfsops.c
        src/sys/ufs/lfs: lfs_bio.c lfs_syscalls.c lfs_vfsops.c
        src/sys/ufs/mfs: mfs_vfsops.c
        src/sys/ufs/ufs: ufs_vfsops.c

Log Message:
PR kern/37706 (forced unmount of file systems is unsafe):

- Do reference counting for 'struct mount'. Each vnode associated with a
  mount takes a reference, and in turn the mount takes a reference to the
  vfsops.
- Now that mounts are reference counted, replace the overcomplicated mount
  locking inherited from 4.4BSD with a recursable rwlock.


To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 src/sys/coda/coda_psdev.c
cvs rdiff -r1.24 -r1.25 src/sys/compat/common/vfs_syscalls_20.c
cvs rdiff -r1.19 -r1.20 src/sys/compat/netbsd32/netbsd32_compat_20.c
cvs rdiff -r1.45 -r1.46 src/sys/compat/ultrix/ultrix_fs.c
cvs rdiff -r1.55 -r1.56 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -r1.47 -r1.48 src/sys/fs/filecorefs/filecore_vfsops.c
cvs rdiff -r1.60 -r1.61 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -r1.64 -r1.65 src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -r1.64 -r1.65 src/sys/fs/puffs/puffs_msgif.c
cvs rdiff -r1.27 -r1.28 src/sys/fs/union/union_vnops.c
cvs rdiff -r1.103 -r1.104 src/sys/kern/vfs_lookup.c
cvs rdiff -r1.326 -r1.327 src/sys/kern/vfs_subr.c
cvs rdiff -r1.15 -r1.16 src/sys/kern/vfs_subr2.c
cvs rdiff -r1.344 -r1.345 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.47 -r1.48 src/sys/miscfs/procfs/procfs_linux.c
cvs rdiff -r1.21 -r1.22 src/sys/miscfs/syncfs/sync_vnops.c
cvs rdiff -r1.31 -r1.32 src/sys/nfs/nfs_export.c
cvs rdiff -r1.193 -r1.194 src/sys/nfs/nfs_vfsops.c
cvs rdiff -r1.172 -r1.173 src/sys/sys/mount.h
cvs rdiff -r1.129 -r1.130 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -r1.62 -r1.63 src/sys/ufs/ffs/ffs_snapshot.c
cvs rdiff -r1.221 -r1.222 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.107 -r1.108 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.127 -r1.128 src/sys/ufs/lfs/lfs_syscalls.c
cvs rdiff -r1.254 -r1.255 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.88 -r1.89 src/sys/ufs/mfs/mfs_vfsops.c
cvs rdiff -r1.36 -r1.37 src/sys/ufs/ufs/ufs_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