| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: mount.h,v 1.207 2012/02/01 05:34:42 dholland Exp $ */ | | 1 | /* $NetBSD: mount.h,v 1.207.2.1 2012/11/18 18:42:03 msaitoh Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1989, 1991, 1993 | | 4 | * Copyright (c) 1989, 1991, 1993 |
5 | * The Regents of the University of California. All rights reserved. | | 5 | * The Regents of the University of California. All rights reserved. |
6 | * | | 6 | * |
7 | * Redistribution and use in source and binary forms, with or without | | 7 | * Redistribution and use in source and binary forms, with or without |
8 | * modification, are permitted provided that the following conditions | | 8 | * modification, are permitted provided that the following conditions |
9 | * are met: | | 9 | * are met: |
10 | * 1. Redistributions of source code must retain the above copyright | | 10 | * 1. Redistributions of source code must retain the above copyright |
11 | * notice, this list of conditions and the following disclaimer. | | 11 | * notice, this list of conditions and the following disclaimer. |
12 | * 2. Redistributions in binary form must reproduce the above copyright | | 12 | * 2. Redistributions in binary form must reproduce the above copyright |
13 | * notice, this list of conditions and the following disclaimer in the | | 13 | * notice, this list of conditions and the following disclaimer in the |
14 | * documentation and/or other materials provided with the distribution. | | 14 | * documentation and/or other materials provided with the distribution. |
| @@ -267,27 +267,27 @@ int VFS_SUSPENDCTL(struct mount *, int); | | | @@ -267,27 +267,27 @@ int VFS_SUSPENDCTL(struct mount *, int); |
267 | struct mbuf; | | 267 | struct mbuf; |
268 | struct vnodeopv_desc; | | 268 | struct vnodeopv_desc; |
269 | struct kauth_cred; | | 269 | struct kauth_cred; |
270 | #endif | | 270 | #endif |
271 | | | 271 | |
272 | #define VFS_MAX_MOUNT_DATA 8192 | | 272 | #define VFS_MAX_MOUNT_DATA 8192 |
273 | | | 273 | |
274 | #define VFS_PROTOS(fsname) \ | | 274 | #define VFS_PROTOS(fsname) \ |
275 | int fsname##_mount(struct mount *, const char *, void *, \ | | 275 | int fsname##_mount(struct mount *, const char *, void *, \ |
276 | size_t *); \ | | 276 | size_t *); \ |
277 | int fsname##_start(struct mount *, int); \ | | 277 | int fsname##_start(struct mount *, int); \ |
278 | int fsname##_unmount(struct mount *, int); \ | | 278 | int fsname##_unmount(struct mount *, int); \ |
279 | int fsname##_root(struct mount *, struct vnode **); \ | | 279 | int fsname##_root(struct mount *, struct vnode **); \ |
280 | int fsname##_quotactl(struct mount *, int, struct quotactl_args *); \ | | 280 | int fsname##_quotactl(struct mount *, struct quotactl_args *); \ |
281 | int fsname##_statvfs(struct mount *, struct statvfs *); \ | | 281 | int fsname##_statvfs(struct mount *, struct statvfs *); \ |
282 | int fsname##_sync(struct mount *, int, struct kauth_cred *); \ | | 282 | int fsname##_sync(struct mount *, int, struct kauth_cred *); \ |
283 | int fsname##_vget(struct mount *, ino_t, struct vnode **); \ | | 283 | int fsname##_vget(struct mount *, ino_t, struct vnode **); \ |
284 | int fsname##_fhtovp(struct mount *, struct fid *, struct vnode **); \ | | 284 | int fsname##_fhtovp(struct mount *, struct fid *, struct vnode **); \ |
285 | int fsname##_vptofh(struct vnode *, struct fid *, size_t *); \ | | 285 | int fsname##_vptofh(struct vnode *, struct fid *, size_t *); \ |
286 | void fsname##_init(void); \ | | 286 | void fsname##_init(void); \ |
287 | void fsname##_reinit(void); \ | | 287 | void fsname##_reinit(void); \ |
288 | void fsname##_done(void); \ | | 288 | void fsname##_done(void); \ |
289 | int fsname##_mountroot(void); \ | | 289 | int fsname##_mountroot(void); \ |
290 | int fsname##_snapshot(struct mount *, struct vnode *, \ | | 290 | int fsname##_snapshot(struct mount *, struct vnode *, \ |
291 | struct timespec *); \ | | 291 | struct timespec *); \ |
292 | int fsname##_extattrctl(struct mount *, int, struct vnode *, int, \ | | 292 | int fsname##_extattrctl(struct mount *, int, struct vnode *, int, \ |
293 | const char *); \ | | 293 | const char *); \ |