summaryrefslogtreecommitdiffstats
path: root/fs/squashfs/xattr.c
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@lougher.demon.co.uk>2010-05-31 19:32:17 +0200
committerPhillip Lougher <phillip@lougher.demon.co.uk>2010-05-31 19:32:17 +0200
commita02956e4cc655f746134806119cce1bccfc2c610 (patch)
tree1322a19fa706281aa402499c22810162ddbae9e7 /fs/squashfs/xattr.c
parentsquashfs: update documentation to include description of xattr layout (diff)
downloadlinux-a02956e4cc655f746134806119cce1bccfc2c610.tar.xz
linux-a02956e4cc655f746134806119cce1bccfc2c610.zip
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>
Diffstat (limited to 'fs/squashfs/xattr.c')
-rw-r--r--fs/squashfs/xattr.c2
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 = {
.get = squashfs_security_get
};
-static inline const struct xattr_handler *squashfs_xattr_handler(int type)
+static const struct xattr_handler *squashfs_xattr_handler(int type)
{
if (type & ~(SQUASHFS_XATTR_PREFIX_MASK | SQUASHFS_XATTR_VALUE_OOL))
/* ignore unrecognised type */