diff options
author | Christoph Hellwig <hch@infradead.org> | 2008-08-13 02:22:40 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-08-13 02:22:40 -0400 |
commit | 5ec7f8c7d14a3ea6bf920b3350f5c5d3527cb837 (patch) | |
tree | 3fa7d041b51027af39800ebccef63fb12af94f9d /fs/xfs/xfs_acl.c | |
parent | df80c933f9eb01a7af3812bbe437e38205386304 (diff) |
[XFS] kill bhv_vnode_t
All remaining bhv_vnode_t instance are in code that's more or less Linux
specific. (Well, for xfs_acl.c that could be argued, but that code is on
the removal list, too). So just do an s/bhv_vnode_t/struct inode/ over the
whole tree. We can clean up variable naming and some useless helpers
later.
SGI-PV: 981498
SGI-Modid: xfs-linux-melb:xfs-kern:31781a
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_acl.c')
-rw-r--r-- | fs/xfs/xfs_acl.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/fs/xfs/xfs_acl.c b/fs/xfs/xfs_acl.c index 795c81e25250..b2f639a1416f 100644 --- a/fs/xfs/xfs_acl.c +++ b/fs/xfs/xfs_acl.c | |||
@@ -37,15 +37,15 @@ | |||
37 | #include <linux/capability.h> | 37 | #include <linux/capability.h> |
38 | #include <linux/posix_acl_xattr.h> | 38 | #include <linux/posix_acl_xattr.h> |
39 | 39 | ||
40 | STATIC int xfs_acl_setmode(bhv_vnode_t *, xfs_acl_t *, int *); | 40 | STATIC int xfs_acl_setmode(struct inode *, xfs_acl_t *, int *); |
41 | STATIC void xfs_acl_filter_mode(mode_t, xfs_acl_t *); | 41 | STATIC void xfs_acl_filter_mode(mode_t, xfs_acl_t *); |
42 | STATIC void xfs_acl_get_endian(xfs_acl_t *); | 42 | STATIC void xfs_acl_get_endian(xfs_acl_t *); |
43 | STATIC int xfs_acl_access(uid_t, gid_t, xfs_acl_t *, mode_t, cred_t *); | 43 | STATIC int xfs_acl_access(uid_t, gid_t, xfs_acl_t *, mode_t, cred_t *); |
44 | STATIC int xfs_acl_invalid(xfs_acl_t *); | 44 | STATIC int xfs_acl_invalid(xfs_acl_t *); |
45 | STATIC void xfs_acl_sync_mode(mode_t, xfs_acl_t *); | 45 | STATIC void xfs_acl_sync_mode(mode_t, xfs_acl_t *); |
46 | STATIC void xfs_acl_get_attr(bhv_vnode_t *, xfs_acl_t *, int, int, int *); | 46 | STATIC void xfs_acl_get_attr(struct inode *, xfs_acl_t *, int, int, int *); |
47 | STATIC void xfs_acl_set_attr(bhv_vnode_t *, xfs_acl_t *, int, int *); | 47 | STATIC void xfs_acl_set_attr(struct inode *, xfs_acl_t *, int, int *); |
48 | STATIC int xfs_acl_allow_set(bhv_vnode_t *, int); | 48 | STATIC int xfs_acl_allow_set(struct inode *, int); |
49 | 49 | ||
50 | kmem_zone_t *xfs_acl_zone; | 50 | kmem_zone_t *xfs_acl_zone; |
51 | 51 | ||
@@ -55,7 +55,7 @@ kmem_zone_t *xfs_acl_zone; | |||
55 | */ | 55 | */ |
56 | int | 56 | int |
57 | xfs_acl_vhasacl_access( | 57 | xfs_acl_vhasacl_access( |
58 | bhv_vnode_t *vp) | 58 | struct inode *vp) |
59 | { | 59 | { |
60 | int error; | 60 | int error; |
61 | 61 | ||
@@ -68,7 +68,7 @@ xfs_acl_vhasacl_access( | |||
68 | */ | 68 | */ |
69 | int | 69 | int |
70 | xfs_acl_vhasacl_default( | 70 | xfs_acl_vhasacl_default( |
71 | bhv_vnode_t *vp) | 71 | struct inode *vp) |
72 | { | 72 | { |
73 | int error; | 73 | int error; |
74 | 74 | ||
@@ -207,7 +207,7 @@ posix_acl_xfs_to_xattr( | |||
207 | 207 | ||
208 | int | 208 | int |
209 | xfs_acl_vget( | 209 | xfs_acl_vget( |
210 | bhv_vnode_t *vp, | 210 | struct inode *vp, |
211 | void *acl, | 211 | void *acl, |
212 | size_t size, | 212 | size_t size, |
213 | int kind) | 213 | int kind) |
@@ -249,7 +249,7 @@ out: | |||
249 | 249 | ||
250 | int | 250 | int |
251 | xfs_acl_vremove( | 251 | xfs_acl_vremove( |
252 | bhv_vnode_t *vp, | 252 | struct inode *vp, |
253 | int kind) | 253 | int kind) |
254 | { | 254 | { |
255 | int error; | 255 | int error; |
@@ -268,7 +268,7 @@ xfs_acl_vremove( | |||
268 | 268 | ||
269 | int | 269 | int |
270 | xfs_acl_vset( | 270 | xfs_acl_vset( |
271 | bhv_vnode_t *vp, | 271 | struct inode *vp, |
272 | void *acl, | 272 | void *acl, |
273 | size_t size, | 273 | size_t size, |
274 | int kind) | 274 | int kind) |
@@ -357,7 +357,7 @@ xfs_acl_iaccess( | |||
357 | 357 | ||
358 | STATIC int | 358 | STATIC int |
359 | xfs_acl_allow_set( | 359 | xfs_acl_allow_set( |
360 | bhv_vnode_t *vp, | 360 | struct inode *vp, |
361 | int kind) | 361 | int kind) |
362 | { | 362 | { |
363 | if (vp->i_flags & (S_IMMUTABLE|S_APPEND)) | 363 | if (vp->i_flags & (S_IMMUTABLE|S_APPEND)) |
@@ -560,7 +560,7 @@ xfs_acl_get_endian( | |||
560 | */ | 560 | */ |
561 | STATIC void | 561 | STATIC void |
562 | xfs_acl_get_attr( | 562 | xfs_acl_get_attr( |
563 | bhv_vnode_t *vp, | 563 | struct inode *vp, |
564 | xfs_acl_t *aclp, | 564 | xfs_acl_t *aclp, |
565 | int kind, | 565 | int kind, |
566 | int flags, | 566 | int flags, |
@@ -584,7 +584,7 @@ xfs_acl_get_attr( | |||
584 | */ | 584 | */ |
585 | STATIC void | 585 | STATIC void |
586 | xfs_acl_set_attr( | 586 | xfs_acl_set_attr( |
587 | bhv_vnode_t *vp, | 587 | struct inode *vp, |
588 | xfs_acl_t *aclp, | 588 | xfs_acl_t *aclp, |
589 | int kind, | 589 | int kind, |
590 | int *error) | 590 | int *error) |
@@ -618,7 +618,7 @@ xfs_acl_set_attr( | |||
618 | 618 | ||
619 | int | 619 | int |
620 | xfs_acl_vtoacl( | 620 | xfs_acl_vtoacl( |
621 | bhv_vnode_t *vp, | 621 | struct inode *vp, |
622 | xfs_acl_t *access_acl, | 622 | xfs_acl_t *access_acl, |
623 | xfs_acl_t *default_acl) | 623 | xfs_acl_t *default_acl) |
624 | { | 624 | { |
@@ -650,7 +650,7 @@ xfs_acl_vtoacl( | |||
650 | */ | 650 | */ |
651 | int | 651 | int |
652 | xfs_acl_inherit( | 652 | xfs_acl_inherit( |
653 | bhv_vnode_t *vp, | 653 | struct inode *vp, |
654 | mode_t mode, | 654 | mode_t mode, |
655 | xfs_acl_t *pdaclp) | 655 | xfs_acl_t *pdaclp) |
656 | { | 656 | { |
@@ -709,7 +709,7 @@ out_error: | |||
709 | */ | 709 | */ |
710 | STATIC int | 710 | STATIC int |
711 | xfs_acl_setmode( | 711 | xfs_acl_setmode( |
712 | bhv_vnode_t *vp, | 712 | struct inode *vp, |
713 | xfs_acl_t *acl, | 713 | xfs_acl_t *acl, |
714 | int *basicperms) | 714 | int *basicperms) |
715 | { | 715 | { |