Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/j.anaszewski...
[linux-2.6-block.git] / fs / kernfs / mount.c
index 3b78724c1979c534e01803f7b34aa615e5f03077..3d670a3678f2dd6dc24dc9db23ca9cd5a63ab0ed 100644 (file)
@@ -50,7 +50,8 @@ static int kernfs_sop_show_path(struct seq_file *sf, struct dentry *dentry)
        if (scops && scops->show_path)
                return scops->show_path(sf, node, root);
 
-       return seq_dentry(sf, dentry, " \t\n\\");
+       seq_dentry(sf, dentry, " \t\n\\");
+       return 0;
 }
 
 const struct super_operations kernfs_sops = {