diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-12 05:34:09 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-12 05:34:09 +0300 |
commit | 01b0c014eeb0bb857a5dc572cd108be7becddfe7 (patch) | |
tree | d6f1a089081aadb09e66add27f7c5137d076ac80 /fs/nsfs.c | |
parent | 3ebb0540c20d6670396ccee9ff6794c095fa9311 (diff) | |
parent | e527b22c3f63c02832ac4cb8ed0ec3a9b638bbdf (diff) | |
download | linux-01b0c014eeb0bb857a5dc572cd108be7becddfe7.tar.xz |
Merge branch 'akpm' (patches from Andrew)
Merge fourth patch-bomb from Andrew Morton:
- sys_membarier syscall
- seq_file interface changes
- a few misc fixups
* emailed patches from Andrew Morton <akpm@linux-foundation.org>:
revert "ocfs2/dlm: use list_for_each_entry instead of list_for_each"
mm/early_ioremap: add explicit #include of asm/early_ioremap.h
fs/seq_file: convert int seq_vprint/seq_printf/etc... returns to void
selftests: enhance membarrier syscall test
selftests: add membarrier syscall test
sys_membarrier(): system-wide memory barrier (generic, x86)
MODSIGN: fix a compilation warning in extract-cert
Diffstat (limited to 'fs/nsfs.c')
-rw-r--r-- | fs/nsfs.c | 3 |
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 = { |