* [PATCH] btrfs/xattr.c: quiet sparse noise
@ 2011-09-23 1:50 H Hartley Sweeten
0 siblings, 0 replies; only message in thread
From: H Hartley Sweeten @ 2011-09-23 1:50 UTC (permalink / raw)
To: Linux Kernel; +Cc: linux-btrfs, chris.mason
Quiet the sparse noise:
warning: symbol 'btrfs_initxattrs' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Chris Mason <chris.mason@oracle.com>
---
diff --git a/fs/btrfs/xattr.c b/fs/btrfs/xattr.c
index 6196e1a..e878463 100644
--- a/fs/btrfs/xattr.c
+++ b/fs/btrfs/xattr.c
@@ -374,8 +374,8 @@ int btrfs_removexattr(struct dentry *dentry, const char *name)
XATTR_REPLACE);
}
-int btrfs_initxattrs(struct inode *inode, const struct xattr *xattr_array,
- void *fs_info)
+static int btrfs_initxattrs(struct inode *inode,
+ const struct xattr *xattr_array, void *fs_info)
{
const struct xattr *xattr;
struct btrfs_trans_handle *trans = fs_info;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-23 1:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 1:50 [PATCH] btrfs/xattr.c: quiet sparse noise H Hartley Sweeten
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.