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:   elad
Date:           Tue Jun 23 19:36:40 UTC 2009

Modified Files:
        src/sys/fs/adosfs: advnops.c
        src/sys/fs/cd9660: cd9660_vnops.c
        src/sys/fs/efs: efs_vnops.c
        src/sys/fs/filecorefs: filecore_vnops.c
        src/sys/fs/hfs: hfs_vnops.c
        src/sys/fs/msdosfs: msdosfs_vnops.c
        src/sys/fs/ntfs: ntfs_vnops.c
        src/sys/fs/ptyfs: ptyfs_vnops.c
        src/sys/fs/smbfs: smbfs_vnops.c
        src/sys/fs/sysvbfs: sysvbfs_vnops.c
        src/sys/fs/tmpfs: tmpfs_vnops.c
        src/sys/fs/udf: udf_vnops.c
        src/sys/kern: sys_mqueue.c vfs_subr.c
        src/sys/miscfs/genfs: genfs.h genfs_vnops.c
        src/sys/miscfs/kernfs: kernfs_vnops.c
        src/sys/miscfs/procfs: procfs_vnops.c
        src/sys/nfs: nfs_vnops.c
        src/sys/ufs/ext2fs: ext2fs_vnops.c
        src/sys/ufs/ufs: ufs_vnops.c

Log Message:
Move the implementation of vaccess() to genfs_can_access(), in line with
the other routines of the same spirit.

Adjust file-system code to use it.

Keep vaccess() for KPI compatibility and to keep element of least
surprise. A "diagnostic" message warning that vaccess() is deprecated will
be printed when it's used (obviously, only in DIAGNOSTIC kernels).

No objections on tech-kern@:

        http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/fs/adosfs/advnops.c
cvs rdiff -u -r1.36 -r1.37 src/sys/fs/cd9660/cd9660_vnops.c
cvs rdiff -u -r1.17 -r1.18 src/sys/fs/efs/efs_vnops.c
cvs rdiff -u -r1.30 -r1.31 src/sys/fs/filecorefs/filecore_vnops.c
cvs rdiff -u -r1.13 -r1.14 src/sys/fs/hfs/hfs_vnops.c
cvs rdiff -u -r1.59 -r1.60 src/sys/fs/msdosfs/msdosfs_vnops.c
cvs rdiff -u -r1.43 -r1.44 src/sys/fs/ntfs/ntfs_vnops.c
cvs rdiff -u -r1.30 -r1.31 src/sys/fs/ptyfs/ptyfs_vnops.c
cvs rdiff -u -r1.68 -r1.69 src/sys/fs/smbfs/smbfs_vnops.c
cvs rdiff -u -r1.21 -r1.22 src/sys/fs/sysvbfs/sysvbfs_vnops.c
cvs rdiff -u -r1.59 -r1.60 src/sys/fs/tmpfs/tmpfs_vnops.c
cvs rdiff -u -r1.43 -r1.44 src/sys/fs/udf/udf_vnops.c
cvs rdiff -u -r1.18 -r1.19 src/sys/kern/sys_mqueue.c
cvs rdiff -u -r1.379 -r1.380 src/sys/kern/vfs_subr.c
cvs rdiff -u -r1.26 -r1.27 src/sys/miscfs/genfs/genfs.h
cvs rdiff -u -r1.171 -r1.172 src/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -u -r1.136 -r1.137 src/sys/miscfs/kernfs/kernfs_vnops.c
cvs rdiff -u -r1.174 -r1.175 src/sys/miscfs/procfs/procfs_vnops.c
cvs rdiff -u -r1.278 -r1.279 src/sys/nfs/nfs_vnops.c
cvs rdiff -u -r1.86 -r1.87 src/sys/ufs/ext2fs/ext2fs_vnops.c
cvs rdiff -u -r1.177 -r1.178 src/sys/ufs/ufs/ufs_vnops.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