diff --git a/fs/orangefs/orangefs-bufmap.c b/fs/orangefs/orangefs-bufmap.c index bf8470060c74..cf3ffb57334b 100644 --- a/fs/orangefs/orangefs-bufmap.c +++ b/fs/orangefs/orangefs-bufmap.c @@ -82,7 +82,7 @@ static void orangefs_bufmap_unref(struct orangefs_bufmap *bufmap) } } -inline int orangefs_bufmap_size_query(void) +int orangefs_bufmap_size_query(void) { struct orangefs_bufmap *bufmap = orangefs_bufmap_ref(); int size = bufmap ? bufmap->desc_size : 0; @@ -91,7 +91,7 @@ inline int orangefs_bufmap_size_query(void) return size; } -inline int orangefs_bufmap_shift_query(void) +int orangefs_bufmap_shift_query(void) { struct orangefs_bufmap *bufmap = orangefs_bufmap_ref(); int shift = bufmap ? bufmap->desc_shift : 0; diff --git a/fs/orangefs/orangefs-bufmap.h b/fs/orangefs/orangefs-bufmap.h index f652b464b340..112ec33a1b86 100644 --- a/fs/orangefs/orangefs-bufmap.h +++ b/fs/orangefs/orangefs-bufmap.h @@ -9,10 +9,6 @@ struct orangefs_bufmap; -/* - * orangefs_bufmap_size_query is now an inline function because buffer - * sizes are not hardcoded - */ int orangefs_bufmap_size_query(void); int orangefs_bufmap_shift_query(void);