diff options
author | Phillip Lougher <phillip@lougher.demon.co.uk> | 2010-05-31 13:32:17 -0400 |
---|---|---|
committer | Phillip Lougher <phillip@lougher.demon.co.uk> | 2010-05-31 13:32:17 -0400 |
commit | a02956e4cc655f746134806119cce1bccfc2c610 (patch) | |
tree | 1322a19fa706281aa402499c22810162ddbae9e7 | |
parent | 899f4530334da9292556e1f8f5791468e0136ff1 (diff) |
squashfs: fix compiler inline warning
Fix compiler warning where inline conflicts with non-inline
prototype.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
-rw-r--r-- | fs/squashfs/xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/squashfs/xattr.c b/fs/squashfs/xattr.c index c7655e8b31cd..da58d8f5aa5f 100644 --- a/fs/squashfs/xattr.c +++ b/fs/squashfs/xattr.c | |||
@@ -295,7 +295,7 @@ static const struct xattr_handler squashfs_xattr_security_handler = { | |||
295 | .get = squashfs_security_get | 295 | .get = squashfs_security_get |
296 | }; | 296 | }; |
297 | 297 | ||
298 | static inline const struct xattr_handler *squashfs_xattr_handler(int type) | 298 | static const struct xattr_handler *squashfs_xattr_handler(int type) |
299 | { | 299 | { |
300 | if (type & ~(SQUASHFS_XATTR_PREFIX_MASK | SQUASHFS_XATTR_VALUE_OOL)) | 300 | if (type & ~(SQUASHFS_XATTR_PREFIX_MASK | SQUASHFS_XATTR_VALUE_OOL)) |
301 | /* ignore unrecognised type */ | 301 | /* ignore unrecognised type */ |