diff options
author | Martin Brandenburg <martin@omnibond.com> | 2015-12-15 14:48:17 -0500 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2015-12-17 14:34:53 -0500 |
commit | 765a75b34a9d72aca875d85d4dc40945afd2939e (patch) | |
tree | 99bacaf9b56486753567a4995bee4b86c584a008 /fs/orangefs/orangefs-bufmap.c | |
parent | bf89f584329c79909ea01c99aeac59ec20b3f524 (diff) | |
download | linux-765a75b34a9d72aca875d85d4dc40945afd2939e.tar.gz linux-765a75b34a9d72aca875d85d4dc40945afd2939e.tar.bz2 linux-765a75b34a9d72aca875d85d4dc40945afd2939e.zip |
orangefs: Remove useless inline qualifier from bufmap functions.
All callers were outside of the file these functions were declared in,
so nothing was ever inlined anyway.
Further this happens before I/O and any speedup by not having to do a
call will be dwarfed by the time it takes to talk to the server.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-bufmap.c')
-rw-r--r-- | fs/orangefs/orangefs-bufmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |