X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Fmd_object.h;h=432cf0d858f2b022fc98142530f3ebb43fb80cdf;hb=34fdece4b200d2868b07dfe4ae234533c9274c3f;hp=7fa59b25a12613c62049b53067da8272ab43d42c;hpb=1d3c17c697fcabe8a8ae0d23a8e915a268ad2e71;p=fs%2Flustre-release.git diff --git a/lustre/include/md_object.h b/lustre/include/md_object.h index 7fa59b2..432cf0d 100644 --- a/lustre/include/md_object.h +++ b/lustre/include/md_object.h @@ -47,20 +47,15 @@ struct md_device_operations; struct md_object; -typedef enum { +enum { UCRED_INVALID = -1, UCRED_INIT = 0, UCRED_OLD = 1, - UCRED_NEW = 2, -} ucred_t; - -#define SQUASH_NONE 0x00 -#define SQUASH_UID 0x01 -#define SQUASH_GID 0x02 + UCRED_NEW = 2 +}; struct md_ucred { - ucred_t mu_valid; - __u32 mu_squash; + __u32 mu_valid; __u32 mu_o_uid; __u32 mu_o_gid; __u32 mu_o_fsuid; @@ -73,7 +68,7 @@ struct md_ucred { __u32 mu_cap; __u32 mu_umask; struct group_info *mu_ginfo; - struct mdt_identity *mu_identity; + struct md_identity *mu_identity; }; #define MD_CAPAINFO_MAX 5 @@ -101,7 +96,8 @@ enum ma_valid { MA_COOKIE = (1 << 2), MA_FLAGS = (1 << 3), MA_LMV = (1 << 4), - MA_ACL_DEF = (1 << 5) + MA_ACL_DEF = (1 << 5), + MA_LOV_DEF = (1 << 6) }; typedef enum {