summaryrefslogtreecommitdiffstats
path: root/fs/jffs2
diff options
context:
space:
mode:
authorNikola Pajkovsky <n.pajkovsky@gmail.com>2012-02-19 19:51:42 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-27 01:36:44 +0200
commit273a65ad3256a829bdeb073a2e9b359433de2fe5 (patch)
treea5321f496deee5f3db442eaefe90277725875ac9 /fs/jffs2
parentmtd: fix 'Flash device refused suspend due to active operation' message (diff)
downloadlinux-273a65ad3256a829bdeb073a2e9b359433de2fe5.tar.xz
linux-273a65ad3256a829bdeb073a2e9b359433de2fe5.zip
jffs2: make jffs2_initxattrs() static
Signed-off-by: Nikola Pajkovsky <n.pajkovsky@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/jffs2')
-rw-r--r--fs/jffs2/security.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs2/security.c b/fs/jffs2/security.c
index 0f20208df602..aca97f35b292 100644
--- a/fs/jffs2/security.c
+++ b/fs/jffs2/security.c
@@ -23,8 +23,8 @@
#include "nodelist.h"
/* ---- Initial Security Label(s) Attachment callback --- */
-int jffs2_initxattrs(struct inode *inode, const struct xattr *xattr_array,
- void *fs_info)
+static int jffs2_initxattrs(struct inode *inode,
+ const struct xattr *xattr_array, void *fs_info)
{
const struct xattr *xattr;
int err = 0;