jffs2/security.c: local functions should be static
PATCH 1/1 jffs2/security.c: local functions should be static
Quiets the sparse noise:
warning: symbol 'jffs2_initxattrs' was not declared. Should it be static?
Signed-off-by H Hartley Sweeten <[email protected]>
Cc David Woodhouse <[email protected]>
---
fs/jffs2/security.c +2 -2
@@ -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 ;
Quoted 6 lines · H Hartley Sweeten
Quiets the sparse noise:
warning: symbol '
jffs2_initxattrs' was not declared. Should it be static?Signed-off-by H Hartley Sweeten <[email protected]>Cc David Woodhouse <[email protected]>
Against which tree is this patch? My l2-mtd-2.6 tree does not have this function, and it is based on Linux 3.1-rc2.
Signature · 2 lines
Best Regards, Artem Bityutskiy