Remove trainling whitespace.
This commit is contained in:
parent
194a0abf73
commit
72f0679cfa
@ -205,7 +205,7 @@ vop_nolookup(ap)
|
||||
*
|
||||
* BIO_ERROR and B_INVAL must be cleared prior to calling any strategy
|
||||
* routine. Typically this is done for a BIO_READ strategy call.
|
||||
* Typically B_INVAL is assumed to already be clear prior to a write
|
||||
* Typically B_INVAL is assumed to already be clear prior to a write
|
||||
* and should not be cleared manually unless you just made the buffer
|
||||
* invalid. BIO_ERROR should be cleared either way.
|
||||
*/
|
||||
@ -247,7 +247,7 @@ vop_nospecstrategy (struct vop_specstrategy_args *ap)
|
||||
|
||||
/*
|
||||
* vop_stdpathconf:
|
||||
*
|
||||
*
|
||||
* Standard implementation of POSIX pathconf, to get information about limits
|
||||
* for a filesystem.
|
||||
* Override per filesystem for the case where the filesystem has smaller
|
||||
@ -297,7 +297,7 @@ vop_stdlock(ap)
|
||||
int a_flags;
|
||||
struct thread *a_td;
|
||||
} */ *ap;
|
||||
{
|
||||
{
|
||||
struct vnode *vp = ap->a_vp;
|
||||
|
||||
#ifndef DEBUG_LOCKS
|
||||
@ -414,7 +414,7 @@ vop_sharedlock(ap)
|
||||
* function unlock them. Otherwise all intermediate vnode layers
|
||||
* (such as union, umapfs, etc) must catch these functions to do
|
||||
* the necessary locking at their layer. Note that the inactive
|
||||
* and lookup operations also change their lock state, but this
|
||||
* and lookup operations also change their lock state, but this
|
||||
* cannot be avoided, so these two operations will always need
|
||||
* to be handled in intermediate layers.
|
||||
*/
|
||||
@ -479,7 +479,7 @@ vop_nolock(ap)
|
||||
* function unlock them. Otherwise all intermediate vnode layers
|
||||
* (such as union, umapfs, etc) must catch these functions to do
|
||||
* the necessary locking at their layer. Note that the inactive
|
||||
* and lookup operations also change their lock state, but this
|
||||
* and lookup operations also change their lock state, but this
|
||||
* cannot be avoided, so these two operations will always need
|
||||
* to be handled in intermediate layers.
|
||||
*/
|
||||
@ -685,7 +685,7 @@ vop_stdgetvobject(ap)
|
||||
/* XXX Needs good comment and VOP_BMAP(9) manpage */
|
||||
int
|
||||
vop_stdbmap(ap)
|
||||
struct vop_bmap_args /* {
|
||||
struct vop_bmap_args /* {
|
||||
struct vnode *a_vp;
|
||||
daddr_t a_bn;
|
||||
struct vnode **a_vpp;
|
||||
@ -792,9 +792,10 @@ loop2:
|
||||
}
|
||||
VI_UNLOCK(vp);
|
||||
splx(s);
|
||||
|
||||
|
||||
return (error);
|
||||
}
|
||||
|
||||
/* XXX Needs good comment and more info in the manpage (VOP_GETPAGES(9)). */
|
||||
int
|
||||
vop_stdgetpages(ap)
|
||||
@ -828,9 +829,7 @@ vop_stdputpages(ap)
|
||||
ap->a_sync, ap->a_rtvals);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
/*
|
||||
* vfs default ops
|
||||
* used to fill the vfs function table to get reasonable default return values.
|
||||
*/
|
||||
@ -868,7 +867,7 @@ vfs_stdstart (mp, flags, td)
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
int
|
||||
vfs_stdquotactl (mp, cmds, uid, arg, td)
|
||||
struct mount *mp;
|
||||
int cmds;
|
||||
@ -879,17 +878,17 @@ vfs_stdquotactl (mp, cmds, uid, arg, td)
|
||||
return (EOPNOTSUPP);
|
||||
}
|
||||
|
||||
int
|
||||
int
|
||||
vfs_stdsync (mp, waitfor, cred, td)
|
||||
struct mount *mp;
|
||||
int waitfor;
|
||||
struct ucred *cred;
|
||||
struct ucred *cred;
|
||||
struct thread *td;
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
int
|
||||
vfs_stdvget (mp, ino, flags, vpp)
|
||||
struct mount *mp;
|
||||
ino_t ino;
|
||||
@ -899,7 +898,7 @@ vfs_stdvget (mp, ino, flags, vpp)
|
||||
return (EOPNOTSUPP);
|
||||
}
|
||||
|
||||
int
|
||||
int
|
||||
vfs_stdfhtovp (mp, fhp, vpp)
|
||||
struct mount *mp;
|
||||
struct fid *fhp;
|
||||
@ -909,7 +908,7 @@ vfs_stdfhtovp (mp, fhp, vpp)
|
||||
}
|
||||
|
||||
int
|
||||
vfs_stdinit (vfsp)
|
||||
vfs_stdinit (vfsp)
|
||||
struct vfsconf *vfsp;
|
||||
{
|
||||
return (0);
|
||||
|
@ -212,7 +212,7 @@ struct mount {
|
||||
MNT_NOSYMFOLLOW | MNT_IGNORE | MNT_JAILDEVFS | \
|
||||
MNT_NOCLUSTERR | MNT_NOCLUSTERW | MNT_SUIDDIR | \
|
||||
MNT_ACLS )
|
||||
|
||||
|
||||
/*
|
||||
* External filesystem command modifier flags.
|
||||
* Unmount can use the MNT_FORCE flag.
|
||||
@ -489,11 +489,11 @@ extern TAILQ_HEAD(mntlist, mount) mountlist; /* mounted filesystem list */
|
||||
extern struct mtx mountlist_mtx;
|
||||
extern struct nfs_public nfs_pub;
|
||||
|
||||
/*
|
||||
* Declarations for these vfs default operations are located in
|
||||
* kern/vfs_default.c, they should be used instead of making "dummy"
|
||||
/*
|
||||
* Declarations for these vfs default operations are located in
|
||||
* kern/vfs_default.c, they should be used instead of making "dummy"
|
||||
* functions or casting entries in the VFS op table to "enopnotsupp()".
|
||||
*/
|
||||
*/
|
||||
vfs_start_t vfs_stdstart;
|
||||
vfs_root_t vfs_stdroot;
|
||||
vfs_quotactl_t vfs_stdquotactl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user