X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_cap.h;fp=fs%2Fxfs%2Fxfs_cap.h;h=433ec537f9bd2de256a16ba64baad50f3e9514f9;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=7a0e482dd4362a419592c0de70797dc49f01eeec;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/fs/xfs/xfs_cap.h b/fs/xfs/xfs_cap.h index 7a0e482dd..433ec537f 100644 --- a/fs/xfs/xfs_cap.h +++ b/fs/xfs/xfs_cap.h @@ -38,7 +38,7 @@ typedef struct xfs_cap_set { /* * For Linux, we take the bitfields directly from capability.h * and no longer attempt to keep this attribute ondisk compatible - * with IRIX. Since this attribute is only set on executables, + * with IRIX. Since this attribute is only set on exectuables, * it just doesn't make much sense to try. We do use a different * named attribute though, to avoid confusion. */ @@ -49,12 +49,12 @@ typedef struct xfs_cap_set { #include -struct bhv_vnode; +struct vnode; -extern int xfs_cap_vhascap(struct bhv_vnode *); -extern int xfs_cap_vset(struct bhv_vnode *, void *, size_t); -extern int xfs_cap_vget(struct bhv_vnode *, void *, size_t); -extern int xfs_cap_vremove(struct bhv_vnode *); +extern int xfs_cap_vhascap(struct vnode *); +extern int xfs_cap_vset(struct vnode *, void *, size_t); +extern int xfs_cap_vget(struct vnode *, void *, size_t); +extern int xfs_cap_vremove(struct vnode *vp); #define _CAP_EXISTS xfs_cap_vhascap