From: Prakash Surya Date: Wed, 19 Oct 2011 17:47:41 +0000 (-0700) Subject: LU-2158 lvfs: Remove ll_fid2str from lvfs.h X-Git-Tag: 2.3.60~27 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=9303a33f8e9ad670069549a5935e70cd1d236369;p=fs%2Flustre-release.git LU-2158 lvfs: Remove ll_fid2str from lvfs.h The ll_fid2str function was removed because it is not used anywhere. Change-Id: I7e16b3d5e2fa10af0d5763909a42871a8c86a3ff Signed-off-by: Prakash Surya Reviewed-on: http://review.whamcloud.com/4860 Reviewed-by: Andreas Dilger Tested-by: Hudson Tested-by: Maloo Reviewed-by: James Simmons --- 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