summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2010-07-27 23:49:43 +0400
committerEric Van Hensbergen <ericvh@gmail.com>2010-08-02 23:28:37 +0400
commitea1375333ef58298ba4d3c638f3cba982c76504d (patch)
tree574814ebb504a61de0598a65bb63c242f2e81cc2 /fs
parent0b1208b1aa7a555d5ae4246bab4cd76ba3f32b2d (diff)
downloadlinux-ea1375333ef58298ba4d3c638f3cba982c76504d.tar.xz
fs/9p: remove sparse warning in vfs_inode
make v9fs_dentry_from_dir_inode static Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/9p/vfs_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 75c261fdc7b4..6e94f3247cec 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -260,7 +260,7 @@ static gid_t v9fs_get_fsgid_for_create(struct inode *dir_inode)
*
*/
-struct dentry *v9fs_dentry_from_dir_inode(struct inode *inode)
+static struct dentry *v9fs_dentry_from_dir_inode(struct inode *inode)
{
struct dentry *dentry;