diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-01-16 18:09:38 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-01-19 09:43:08 -0500 |
commit | 42b16b3fbb5ee4555f5dee6220f3ccaa6e1ebe47 (patch) | |
tree | 966c1266afca5dd0e59cace37f7cd49577bdf0e2 /fs/ocfs2/dir.c | |
parent | f0940cee222790e6e995a23f25c4ffb23f939a24 (diff) |
Kill off warning: ‘inline’ is not at beginning of declaration
Fix a bunch of
warning: ‘inline’ is not at beginning of declaration
messages when building a 'make allyesconfig' kernel with -Wextra.
These warnings are trivial to kill, yet rather annoying when building with
-Wextra.
The more we can cut down on pointless crap like this the better (IMHO).
A previous patch to do this for a 'allnoconfig' build has already been
merged. This just takes the cleanup a little further.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/ocfs2/dir.c')
-rw-r--r-- | fs/ocfs2/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index d417b3f9b0c7..f97b6f1c61dd 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c | |||
@@ -354,7 +354,7 @@ static inline int ocfs2_match(int len, | |||
354 | /* | 354 | /* |
355 | * Returns 0 if not found, -1 on failure, and 1 on success | 355 | * Returns 0 if not found, -1 on failure, and 1 on success |
356 | */ | 356 | */ |
357 | static int inline ocfs2_search_dirblock(struct buffer_head *bh, | 357 | static inline int ocfs2_search_dirblock(struct buffer_head *bh, |
358 | struct inode *dir, | 358 | struct inode *dir, |
359 | const char *name, int namelen, | 359 | const char *name, int namelen, |
360 | unsigned long offset, | 360 | unsigned long offset, |