diff options
author | phk <phk@FreeBSD.org> | 2005-01-13 18:59:48 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-01-13 18:59:48 +0000 |
commit | 7617afd15d1be6e95869a5fb4236409d5e7f5f2c (patch) | |
tree | d75493b400c818d9baa0cbc348ed34597bba177e /sys/fs | |
parent | 20067523affa6535f5dd33cfec8b3d14c30fb812 (diff) | |
download | FreeBSD-src-7617afd15d1be6e95869a5fb4236409d5e7f5f2c.zip FreeBSD-src-7617afd15d1be6e95869a5fb4236409d5e7f5f2c.tar.gz |
Whitespace in vop_vector{} initializations.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/deadfs/dead_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/devfs/devfs_vnops.c | 2 | ||||
-rw-r--r-- | sys/fs/fdescfs/fdesc_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/fifofs/fifo_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/hpfs/hpfs_vnops.c | 44 | ||||
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vnops.c | 3 | ||||
-rw-r--r-- | sys/fs/ntfs/ntfs_vnops.c | 38 | ||||
-rw-r--r-- | sys/fs/nwfs/nwfs_vnops.c | 7 | ||||
-rw-r--r-- | sys/fs/portalfs/portal_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/pseudofs/pseudofs_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/smbfs/smbfs_vnops.c | 5 | ||||
-rw-r--r-- | sys/fs/udf/udf_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/umapfs/umap_vnops.c | 1 | ||||
-rw-r--r-- | sys/fs/unionfs/union_vnops.c | 11 |
14 files changed, 63 insertions, 54 deletions
diff --git a/sys/fs/deadfs/dead_vnops.c b/sys/fs/deadfs/dead_vnops.c index 00f4015..3d3a65a 100644 --- a/sys/fs/deadfs/dead_vnops.c +++ b/sys/fs/deadfs/dead_vnops.c @@ -53,6 +53,7 @@ static vop_write_t dead_write; struct vop_vector dead_vnodeops = { .vop_default = &default_vnodeops, + .vop_access = VOP_EBADF, .vop_advlock = VOP_EBADF, .vop_bmap = dead_bmap, diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c index e79f75d..955b6b4 100644 --- a/sys/fs/devfs/devfs_vnops.c +++ b/sys/fs/devfs/devfs_vnops.c @@ -1376,6 +1376,7 @@ devfs_write_f(struct file *fp, struct uio *uio, struct ucred *cred, int flags, s static struct vop_vector devfs_vnodeops = { .vop_default = &default_vnodeops, + .vop_access = devfs_access, .vop_getattr = devfs_getattr, .vop_ioctl = devfs_rioctl, @@ -1397,6 +1398,7 @@ static struct vop_vector devfs_vnodeops = { static struct vop_vector devfs_specops = { .vop_default = &default_vnodeops, + .vop_access = devfs_access, .vop_advlock = devfs_advlock, .vop_bmap = VOP_PANIC, diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index e8af36e..c3d0ef6 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -521,6 +521,7 @@ fdesc_reclaim(ap) static struct vop_vector fdesc_vnodeops = { .vop_default = &default_vnodeops, + .vop_access = VOP_NULL, .vop_getattr = fdesc_getattr, .vop_inactive = fdesc_inactive, diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index 40a5d89..fba7d10 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/fifofs/fifo_vnops.c @@ -102,6 +102,7 @@ static struct filterops fifowrite_filtops = struct vop_vector fifo_specops = { .vop_default = &default_vnodeops, + .vop_access = VOP_EBADF, .vop_advlock = fifo_advlock, .vop_close = fifo_close, diff --git a/sys/fs/hpfs/hpfs_vnops.c b/sys/fs/hpfs/hpfs_vnops.c index c98a3ca..2e0d33c 100644 --- a/sys/fs/hpfs/hpfs_vnops.c +++ b/sys/fs/hpfs/hpfs_vnops.c @@ -1225,26 +1225,26 @@ hpfs_pathconf(ap) * Global vfs data structures */ struct vop_vector hpfs_vnodeops = { - .vop_default = &default_vnodeops, - - .vop_getattr = hpfs_getattr, - .vop_setattr = hpfs_setattr, - .vop_inactive = hpfs_inactive, - .vop_reclaim = hpfs_reclaim, - .vop_print = hpfs_print, - .vop_create = hpfs_create, - .vop_remove = hpfs_remove, - .vop_cachedlookup = hpfs_lookup, - .vop_lookup = vfs_cache_lookup, - .vop_access = hpfs_access, - .vop_close = hpfs_close, - .vop_open = hpfs_open, - .vop_readdir = hpfs_readdir, - .vop_fsync = hpfs_fsync, - .vop_bmap = hpfs_bmap, - .vop_strategy = hpfs_strategy, - .vop_read = hpfs_read, - .vop_write = hpfs_write, - .vop_ioctl = hpfs_ioctl, - .vop_pathconf = hpfs_pathconf, + .vop_default = &default_vnodeops, + + .vop_access = hpfs_access, + .vop_bmap = hpfs_bmap, + .vop_cachedlookup = hpfs_lookup, + .vop_close = hpfs_close, + .vop_create = hpfs_create, + .vop_fsync = hpfs_fsync, + .vop_getattr = hpfs_getattr, + .vop_inactive = hpfs_inactive, + .vop_ioctl = hpfs_ioctl, + .vop_lookup = vfs_cache_lookup, + .vop_open = hpfs_open, + .vop_pathconf = hpfs_pathconf, + .vop_print = hpfs_print, + .vop_read = hpfs_read, + .vop_readdir = hpfs_readdir, + .vop_reclaim = hpfs_reclaim, + .vop_remove = hpfs_remove, + .vop_setattr = hpfs_setattr, + .vop_strategy = hpfs_strategy, + .vop_write = hpfs_write, }; diff --git a/sys/fs/msdosfs/msdosfs_vnops.c b/sys/fs/msdosfs/msdosfs_vnops.c index edb06ed..bbe4cb2 100644 --- a/sys/fs/msdosfs/msdosfs_vnops.c +++ b/sys/fs/msdosfs/msdosfs_vnops.c @@ -1871,8 +1871,9 @@ msdosfs_advlock(ap) /* Global vfs data structures for msdosfs */ struct vop_vector msdosfs_vnodeops = { .vop_default = &default_vnodeops, + .vop_access = msdosfs_access, - .vop_advlock = msdosfs_advlock, + .vop_advlock = msdosfs_advlock, .vop_bmap = msdosfs_bmap, .vop_cachedlookup = msdosfs_lookup, .vop_close = msdosfs_close, diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c index 9346a46..4cc466d 100644 --- a/sys/fs/ntfs/ntfs_vnops.c +++ b/sys/fs/ntfs/ntfs_vnops.c @@ -752,25 +752,21 @@ ntfs_pathconf(ap) * Global vfs data structures */ struct vop_vector ntfs_vnodeops = { - .vop_default = &default_vnodeops, - - .vop_getattr = ntfs_getattr, - .vop_inactive = ntfs_inactive, - .vop_reclaim = ntfs_reclaim, - .vop_pathconf = ntfs_pathconf, - - .vop_cachedlookup = ntfs_lookup, - .vop_lookup = vfs_cache_lookup, - - .vop_access = ntfs_access, - .vop_close = ntfs_close, - .vop_open = ntfs_open, - .vop_readdir = ntfs_readdir, - .vop_fsync = ntfs_fsync, - - .vop_bmap = ntfs_bmap, - .vop_strategy = ntfs_strategy, - .vop_read = ntfs_read, - .vop_write = ntfs_write, - + .vop_default = &default_vnodeops, + + .vop_access = ntfs_access, + .vop_bmap = ntfs_bmap, + .vop_cachedlookup = ntfs_lookup, + .vop_close = ntfs_close, + .vop_fsync = ntfs_fsync, + .vop_getattr = ntfs_getattr, + .vop_inactive = ntfs_inactive, + .vop_lookup = vfs_cache_lookup, + .vop_open = ntfs_open, + .vop_pathconf = ntfs_pathconf, + .vop_read = ntfs_read, + .vop_readdir = ntfs_readdir, + .vop_reclaim = ntfs_reclaim, + .vop_strategy = ntfs_strategy, + .vop_write = ntfs_write, }; diff --git a/sys/fs/nwfs/nwfs_vnops.c b/sys/fs/nwfs/nwfs_vnops.c index 7f0875c..95be2a7 100644 --- a/sys/fs/nwfs/nwfs_vnops.c +++ b/sys/fs/nwfs/nwfs_vnops.c @@ -85,22 +85,23 @@ static vop_pathconf_t nwfs_pathconf; /* Global vfs data structures for nwfs */ struct vop_vector nwfs_vnodeops = { .vop_default = &default_vnodeops, + .vop_access = nwfs_access, - .vop_open = nwfs_open, .vop_close = nwfs_close, .vop_create = nwfs_create, .vop_fsync = nwfs_fsync, .vop_getattr = nwfs_getattr, .vop_getpages = nwfs_getpages, - .vop_putpages = nwfs_putpages, - .vop_ioctl = nwfs_ioctl, .vop_inactive = nwfs_inactive, + .vop_ioctl = nwfs_ioctl, .vop_link = nwfs_link, .vop_lookup = nwfs_lookup, .vop_mkdir = nwfs_mkdir, .vop_mknod = nwfs_mknod, + .vop_open = nwfs_open, .vop_pathconf = nwfs_pathconf, .vop_print = nwfs_print, + .vop_putpages = nwfs_putpages, .vop_read = nwfs_read, .vop_readdir = nwfs_readdir, .vop_reclaim = nwfs_reclaim, diff --git a/sys/fs/portalfs/portal_vnops.c b/sys/fs/portalfs/portal_vnops.c index 8d7d64a..f6c8d61 100644 --- a/sys/fs/portalfs/portal_vnops.c +++ b/sys/fs/portalfs/portal_vnops.c @@ -558,6 +558,7 @@ portal_reclaim(ap) struct vop_vector portal_vnodeops = { .vop_default = &default_vnodeops, + .vop_access = VOP_NULL, .vop_getattr = portal_getattr, .vop_lookup = portal_lookup, diff --git a/sys/fs/pseudofs/pseudofs_vnops.c b/sys/fs/pseudofs/pseudofs_vnops.c index 031cd4d..7263dc2 100644 --- a/sys/fs/pseudofs/pseudofs_vnops.c +++ b/sys/fs/pseudofs/pseudofs_vnops.c @@ -824,6 +824,7 @@ pfs_write(struct vop_write_args *va) */ struct vop_vector pfs_vnodeops = { .vop_default = &default_vnodeops, + .vop_access = pfs_access, .vop_close = pfs_close, .vop_create = VOP_EOPNOTSUPP, diff --git a/sys/fs/smbfs/smbfs_vnops.c b/sys/fs/smbfs/smbfs_vnops.c index 660421b..af92810 100644 --- a/sys/fs/smbfs/smbfs_vnops.c +++ b/sys/fs/smbfs/smbfs_vnops.c @@ -86,12 +86,14 @@ static vop_getextattr_t smbfs_getextattr; struct vop_vector smbfs_vnodeops = { .vop_default = &default_vnodeops, + .vop_access = smbfs_access, .vop_advlock = smbfs_advlock, .vop_close = smbfs_close, .vop_create = smbfs_create, .vop_fsync = smbfs_fsync, .vop_getattr = smbfs_getattr, + .vop_getextattr = smbfs_getextattr, .vop_getpages = smbfs_getpages, .vop_inactive = smbfs_inactive, .vop_ioctl = smbfs_ioctl, @@ -110,11 +112,10 @@ struct vop_vector smbfs_vnodeops = { .vop_rename = smbfs_rename, .vop_rmdir = smbfs_rmdir, .vop_setattr = smbfs_setattr, +/* .vop_setextattr = smbfs_setextattr,*/ .vop_strategy = smbfs_strategy, .vop_symlink = smbfs_symlink, .vop_write = smbfs_write, - .vop_getextattr = smbfs_getextattr, -/* .vop_setextattr = smbfs_setextattr,*/ }; static int diff --git a/sys/fs/udf/udf_vnops.c b/sys/fs/udf/udf_vnops.c index 0f577d9..9e9bf97 100644 --- a/sys/fs/udf/udf_vnops.c +++ b/sys/fs/udf/udf_vnops.c @@ -72,6 +72,7 @@ static int udf_bmap_internal(struct udf_node *node, off_t offset, static struct vop_vector udf_vnodeops = { .vop_default = &default_vnodeops, + .vop_access = udf_access, .vop_bmap = udf_bmap, .vop_cachedlookup = udf_lookup, diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c index c7803f0..36a10c7 100644 --- a/sys/fs/umapfs/umap_vnops.c +++ b/sys/fs/umapfs/umap_vnops.c @@ -508,6 +508,7 @@ umap_rename(ap) */ static struct vop_vector umap_vnodeops = { .vop_default = umap_bypass, + .vop_getattr = umap_getattr, .vop_inactive = umap_inactive, .vop_lock = umap_lock, diff --git a/sys/fs/unionfs/union_vnops.c b/sys/fs/unionfs/union_vnops.c index 94df922..967bec3 100644 --- a/sys/fs/unionfs/union_vnops.c +++ b/sys/fs/unionfs/union_vnops.c @@ -2053,6 +2053,7 @@ union_setlabel(ap) */ struct vop_vector union_vnodeops = { .vop_default = &default_vnodeops, + .vop_access = union_access, .vop_aclcheck = union_aclcheck, .vop_advlock = union_advlock, @@ -2064,10 +2065,11 @@ struct vop_vector union_vnodeops = { .vop_deleteextattr = union_deleteextattr, .vop_destroyvobject = union_destroyvobject, .vop_fsync = union_fsync, - .vop_getattr = union_getattr, .vop_getacl = union_getacl, - .vop_getextattr = union_getextattr, - .vop_getvobject = union_getvobject, + .vop_getattr = union_getattr, + .vop_getextattr = union_getextattr, + .vop_getvobject = union_getvobject, + .vop_getwritemount = union_getwritemount, .vop_inactive = union_inactive, .vop_ioctl = union_ioctl, .vop_lease = union_lease, @@ -2084,14 +2086,13 @@ struct vop_vector union_vnodeops = { .vop_read = union_read, .vop_readdir = union_readdir, .vop_readlink = union_readlink, - .vop_getwritemount = union_getwritemount, .vop_reclaim = union_reclaim, .vop_remove = union_remove, .vop_rename = union_rename, .vop_rmdir = union_rmdir, .vop_setacl = union_setacl, .vop_setattr = union_setattr, - .vop_setextattr = union_setextattr, + .vop_setextattr = union_setextattr, .vop_setlabel = union_setlabel, .vop_strategy = union_strategy, .vop_symlink = union_symlink, |