aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2015-07-20 09:01:56 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2015-07-23 16:16:30 +1000
commit11c84f7e828333559be7551979e62bcd3fedbfc0 (patch)
tree857d42b8b93faa7509ef9a5ec7ed56a0befd02d8
parent8bc9aee6baa61e333bbf00ccac6a5b7a8cec66c6 (diff)
fs-seq_file-convert-int-seq_vprint-seq_printf-etc-returns-to-void-fix
Cc: Al Viro <viro@ZenIV.linux.org.uk> Cc: Joe Perches <joe@perches.com> Cc: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--fs/nsfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nsfs.c b/fs/nsfs.c
index e4905fbf3396..8f20d6016e20 100644
--- a/fs/nsfs.c
+++ b/fs/nsfs.c
@@ -142,7 +142,8 @@ static int nsfs_show_path(struct seq_file *seq, struct dentry *dentry)
struct inode *inode = d_inode(dentry);
const struct proc_ns_operations *ns_ops = dentry->d_fsdata;
- return seq_printf(seq, "%s:[%lu]", ns_ops->name, inode->i_ino);
+ seq_printf(seq, "%s:[%lu]", ns_ops->name, inode->i_ino);
+ return 0;
}
static const struct super_operations nsfs_ops = {