X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre_capa.h;h=73d7b724bb84a139fd6f008bb6b4c76352c9fbd1;hp=5c5660e9c4f8b78ce0772c14457918e5ceda21ed;hb=refs%2Ftags%2F1.10.0.41a;hpb=cfa207a65e9dc08a006460d48c5b583e45428ab1 diff --git a/lustre/include/lustre_capa.h b/lustre/include/lustre_capa.h index 5c5660e..73d7b72 100644 --- a/lustre/include/lustre_capa.h +++ b/lustre/include/lustre_capa.h @@ -135,9 +135,9 @@ static inline __u32 capa_keyid(struct lustre_capa *capa) return capa->lc_keyid; } -static inline __u64 capa_key_seq(struct lustre_capa_key *key) +static inline __u64 capa_key_mdsid(struct lustre_capa_key *key) { - return key->lk_seq; + return key->lk_mdsid; } static inline __u32 capa_key_keyid(struct lustre_capa_key *key) @@ -166,8 +166,8 @@ CDEBUG(level, fmt " capability@%p fid "DFID" opc "LPX64" uid "LPU64" gid " \ #define DEBUG_CAPA_KEY(level, k, fmt, args...) \ do { \ -CDEBUG(level, fmt " capability key@%p seq "LPU64" keyid %u\n", \ - ##args, k, capa_key_seq(k), capa_key_keyid(k)); \ +CDEBUG(level, fmt " capability key@%p mdsid "LPU64" keyid %u\n", \ + ##args, k, capa_key_mdsid(k), capa_key_keyid(k)); \ } while (0) typedef int (* renew_capa_cb_t)(struct obd_capa *, struct lustre_capa *);