[lustre-devel] [PATCH 25/42] lustre: lov: don't use inline for operations functions.
James Simmons
jsimmons at infradead.org
Mon Oct 5 17:06:04 PDT 2020
From: Mr NeilBrown <neilb at suse.de>
These functions have their address taken and stored in an 'operations'
structure. So they cannot possibly be compiled "inline".
So remove the "inline" declaration.
WC-bug-id: https://jira.whamcloud.com/browse/LU-6142
Lustre-commit: e58cfb7ec5ed5d ("LU-6142 lov: don't use inline for operations functions.")
Signed-off-by: Mr NeilBrown <neilb at suse.de>
Reviewed-on: https://review.whamcloud.com/39376
Reviewed-by: Lai Siyao <lai.siyao at whamcloud.com>
Reviewed-by: James Simmons <jsimmons at infradead.org>
Reviewed-by: Shaun Tancheff <shaun.tancheff at hpe.com>
Reviewed-by: Oleg Drokin <green at whamcloud.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
fs/lustre/lov/lov_ea.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/lustre/lov/lov_ea.c b/fs/lustre/lov/lov_ea.c
index 1d105c0..13f47ee 100644
--- a/fs/lustre/lov/lov_ea.c
+++ b/fs/lustre/lov/lov_ea.c
@@ -303,7 +303,7 @@ void lsm_free(struct lov_stripe_md *lsm)
return ERR_PTR(rc);
}
-static inline struct lov_stripe_md *
+static struct lov_stripe_md *
lsm_unpackmd_v1v3(struct lov_obd *lov,
struct lov_mds_md *lmm, size_t buf_size,
const char *pool_name,
--
1.8.3.1
More information about the lustre-devel
mailing list