summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/super.c
diff options
context:
space:
mode:
authorMike Marshall <hubcap@omnibond.com>2015-07-28 13:27:51 -0400
committerMike Marshall <hubcap@omnibond.com>2015-10-03 11:40:02 -0400
commit84d02150dea7571dc32176e35d65eecde82631a9 (patch)
tree0d2fe61c71db6eee07f7610eaf6d681f6dec56f3 /fs/orangefs/super.c
parent2c590d5fb6987e6579a82285b742a318cc1fdb50 (diff)
downloadlinux-stable-84d02150dea7571dc32176e35d65eecde82631a9.tar.gz
linux-stable-84d02150dea7571dc32176e35d65eecde82631a9.tar.bz2
linux-stable-84d02150dea7571dc32176e35d65eecde82631a9.zip
Orangefs: sooth most sparse complaints
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/super.c')
-rw-r--r--fs/orangefs/super.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c
index a854390fc0ea..90c7a1c9f201 100644
--- a/fs/orangefs/super.c
+++ b/fs/orangefs/super.c
@@ -269,7 +269,7 @@ static void pvfs2_dirty_inode(struct inode *inode, int flags)
SetAtimeFlag(pvfs2_inode);
}
-struct super_operations pvfs2_s_ops = {
+static const struct super_operations pvfs2_s_ops = {
.alloc_inode = pvfs2_alloc_inode,
.destroy_inode = pvfs2_destroy_inode,
.dirty_inode = pvfs2_dirty_inode,
@@ -279,7 +279,7 @@ struct super_operations pvfs2_s_ops = {
.show_options = generic_show_options,
};
-struct dentry *pvfs2_fh_to_dentry(struct super_block *sb,
+static struct dentry *pvfs2_fh_to_dentry(struct super_block *sb,
struct fid *fid,
int fh_len,
int fh_type)
@@ -299,7 +299,7 @@ struct dentry *pvfs2_fh_to_dentry(struct super_block *sb,
return d_obtain_alias(pvfs2_iget(sb, &refn));
}
-int pvfs2_encode_fh(struct inode *inode,
+static int pvfs2_encode_fh(struct inode *inode,
__u32 *fh,
int *max_len,
struct inode *parent)
@@ -347,7 +347,7 @@ static struct export_operations pvfs2_export_ops = {
.fh_to_dentry = pvfs2_fh_to_dentry,
};
-int pvfs2_fill_sb(struct super_block *sb, void *data, int silent)
+static int pvfs2_fill_sb(struct super_block *sb, void *data, int silent)
{
int ret = -EINVAL;
struct inode *root = NULL;