From 9303a33f8e9ad670069549a5935e70cd1d236369 Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Wed, 19 Oct 2011 10:47:41 -0700 Subject: [PATCH] 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 --- lustre/include/lvfs.h | 8 -------- 1 file changed, 8 deletions(-) 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 -- 1.8.3.1