aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2015-06-25 17:41:14 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2015-06-25 17:42:52 +1000
commitc70d7daa43a453d2f6e158146476218116e875b7 (patch)
tree52bdc49cf9dc94ba2fab6a2ce63149e9607a3f9a
parentf645721a315a22176ff812b87f63eebc14035d90 (diff)
nsfs: fix for seq_printf() API change
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-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 = {