diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-01-30 16:34:04 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-03-31 11:40:26 +0200 |
commit | da755fdb414470d6dce3df12ad188de9131cf96c (patch) | |
tree | 7081889e6fc13f4ffdf86f5e928a748af7a7adbc /fs/gfs2/ops_super.c | |
parent | [GFS2] Eliminate gl_req_bh (diff) | |
download | linux-da755fdb414470d6dce3df12ad188de9131cf96c.tar.xz linux-da755fdb414470d6dce3df12ad188de9131cf96c.zip |
[GFS2] Remove lm.[ch] and distribute content
The functions in lm.c were just wrappers which were mostly
only used in one other file. By moving the functions to
the files where they are being used, they can be marked
static and also this will usually result in them being inlined
since they are often only used from one point in the code.
A couple of really trivial functions have been inlined by hand
into the function which called them as it makes the code clearer
to do that.
We also gain from one fewer function call in the glock lock and
unlock paths.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r-- | fs/gfs2/ops_super.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c index 5e524217944a..2278c68b7e35 100644 --- a/fs/gfs2/ops_super.c +++ b/fs/gfs2/ops_super.c @@ -25,7 +25,6 @@ #include "incore.h" #include "glock.h" #include "inode.h" -#include "lm.h" #include "log.h" #include "mount.h" #include "ops_super.h" |