diff options
author | Christoph Hellwig <hch@lst.de> | 2008-12-02 09:54:17 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-12-02 09:54:17 -0500 |
commit | b2950863c61bc24cf0f63bc05947d9d50663c4c0 (patch) | |
tree | 3005a034713fe86db2d64ab1b21fe8762f6a4b0c /fs/btrfs/inode-item.c | |
parent | 1ffa4f426c002161b7dbd58b297f5d0680e7dd6a (diff) | |
download | talos-op-linux-b2950863c61bc24cf0f63bc05947d9d50663c4c0.tar.gz talos-op-linux-b2950863c61bc24cf0f63bc05947d9d50663c4c0.zip |
Btrfs: make things static and include the right headers
Shut up various sparse warnings about symbols that should be either
static or have their declarations in scope.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/btrfs/inode-item.c')
-rw-r--r-- | fs/btrfs/inode-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode-item.c b/fs/btrfs/inode-item.c index d93451c66ba1..3d46fa1f29a4 100644 --- a/fs/btrfs/inode-item.c +++ b/fs/btrfs/inode-item.c @@ -20,7 +20,7 @@ #include "disk-io.h" #include "transaction.h" -int find_name_in_backref(struct btrfs_path *path, const char * name, +static int find_name_in_backref(struct btrfs_path *path, const char *name, int name_len, struct btrfs_inode_ref **ref_ret) { struct extent_buffer *leaf; |