X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flvfs.h;fp=lustre%2Finclude%2Flvfs.h;h=8fff86303d63a1e500917543dd996ad2da1ba2b8;hp=9f55e22334583f8885091117ae814c2555146d00;hb=9303a33f8e9ad670069549a5935e70cd1d236369;hpb=67ac02e5dfd0364432ed817d19a5cfe0124a7892 diff --git a/lustre/include/lvfs.h b/lustre/include/lvfs.h index 9f55e22..8fff863 100644 --- a/lustre/include/lvfs.h +++ b/lustre/include/lvfs.h @@ -54,7 +54,6 @@ #include - #ifdef LIBLUSTRE #include #endif @@ -66,11 +65,4 @@ void push_ctxt(struct lvfs_run_ctxt *save, struct lvfs_run_ctxt *new_ctx, struct lvfs_ucred *cred); void pop_ctxt(struct lvfs_run_ctxt *saved, struct lvfs_run_ctxt *new_ctx, struct lvfs_ucred *cred); - - -static inline int ll_fid2str(char *str, __u64 id, __u32 generation) -{ - return sprintf(str, "%llx:%08x", (unsigned long long)id, generation); -} - #endif