]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hugetlbfs: return error code when initializing module
authorHillf Danton <dhillf@gmail.com>
Wed, 21 Mar 2012 23:34:15 +0000 (16:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Mar 2012 00:55:00 +0000 (17:55 -0700)
commitd1d5e05ffdc110021ae7937802e88ae0d223dcdc
treed0960138966aa0436ffad1907f3ad14dcb625ddf
parentb69add218d32450d6604bc9080f6e33e19b06f5e
hugetlbfs: return error code when initializing module

Return an errno upon failure to create inode kmem cache, and unregister
the FS upon failure to mount.

[akpm@linux-foundation.org: remove unneeded test of `error']
Signed-off-by: Hillf Danton <dhillf@gmail.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hugetlbfs/inode.c