aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_acl.c')
-rw-r--r--fs/xfs/xfs_acl.c30
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
40STATIC int xfs_acl_setmode(bhv_vnode_t *, xfs_acl_t *, int *); 40STATIC int xfs_acl_setmode(struct inode *, xfs_acl_t *, int *);
41STATIC void xfs_acl_filter_mode(mode_t, xfs_acl_t *); 41STATIC void xfs_acl_filter_mode(mode_t, xfs_acl_t *);
42STATIC void xfs_acl_get_endian(xfs_acl_t *); 42STATIC void xfs_acl_get_endian(xfs_acl_t *);
43STATIC int xfs_acl_access(uid_t, gid_t, xfs_acl_t *, mode_t, cred_t *); 43STATIC int xfs_acl_access(uid_t, gid_t, xfs_acl_t *, mode_t, cred_t *);
44STATIC int xfs_acl_invalid(xfs_acl_t *); 44STATIC int xfs_acl_invalid(xfs_acl_t *);
45STATIC void xfs_acl_sync_mode(mode_t, xfs_acl_t *); 45STATIC void xfs_acl_sync_mode(mode_t, xfs_acl_t *);
46STATIC void xfs_acl_get_attr(bhv_vnode_t *, xfs_acl_t *, int, int, int *); 46STATIC void xfs_acl_get_attr(struct inode *, xfs_acl_t *, int, int, int *);
47STATIC void xfs_acl_set_attr(bhv_vnode_t *, xfs_acl_t *, int, int *); 47STATIC void xfs_acl_set_attr(struct inode *, xfs_acl_t *, int, int *);
48STATIC int xfs_acl_allow_set(bhv_vnode_t *, int); 48STATIC int xfs_acl_allow_set(struct inode *, int);
49 49
50kmem_zone_t *xfs_acl_zone; 50kmem_zone_t *xfs_acl_zone;
51 51
@@ -55,7 +55,7 @@ kmem_zone_t *xfs_acl_zone;
55 */ 55 */
56int 56int
57xfs_acl_vhasacl_access( 57xfs_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 */
69int 69int
70xfs_acl_vhasacl_default( 70xfs_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
208int 208int
209xfs_acl_vget( 209xfs_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
250int 250int
251xfs_acl_vremove( 251xfs_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
269int 269int
270xfs_acl_vset( 270xfs_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
358STATIC int 358STATIC int
359xfs_acl_allow_set( 359xfs_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 */
561STATIC void 561STATIC void
562xfs_acl_get_attr( 562xfs_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 */
585STATIC void 585STATIC void
586xfs_acl_set_attr( 586xfs_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
619int 619int
620xfs_acl_vtoacl( 620xfs_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 */
651int 651int
652xfs_acl_inherit( 652xfs_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 */
710STATIC int 710STATIC int
711xfs_acl_setmode( 711xfs_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{