summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-03-26 01:43:34 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-03-26 01:43:34 +0100
commitfce7fc79c8f7188dfc5eafa1b937bcc3c5a4c2f5 (patch)
tree1c5e437460385f833f8fd2608e7526f610282d9e
parentfs: Avoid userspace mounting anon_inodefs filesystem (diff)
downloadlinux-fce7fc79c8f7188dfc5eafa1b937bcc3c5a4c2f5.tar.xz
linux-fce7fc79c8f7188dfc5eafa1b937bcc3c5a4c2f5.zip
fs: remove now stale label in anon_inode_init()
The previous commit removed the register_filesystem() call and the associated error handling, but left the label for the error path that no longer exists. Remove that too. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/anon_inodes.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/anon_inodes.c b/fs/anon_inodes.c
index 4b4543b8b894..42fcc46e2cca 100644
--- a/fs/anon_inodes.c
+++ b/fs/anon_inodes.c
@@ -186,7 +186,6 @@ static int __init anon_inode_init(void)
err_unregister_filesystem:
unregister_filesystem(&anon_inode_fs_type);
-err_exit:
panic(KERN_ERR "anon_inode_init() failed (%d)\n", error);
}