diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2009-04-21 21:24:05 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-21 22:41:48 +0200 |
commit | c12ddba09394c60e1120e6997794fa6ed52da884 (patch) | |
tree | 7848a312993bee19c0096b2e4cb08b15140fd08c /fs/binfmt_elf_fdpic.c | |
parent | ipmi: add oem message handling (diff) | |
download | linux-c12ddba09394c60e1120e6997794fa6ed52da884.tar.xz linux-c12ddba09394c60e1120e6997794fa6ed52da884.zip |
hugetlbfs: return negative error code for bad mount option
This fixes the following BUG:
# mount -o size=MM -t hugetlbfs none /huge
hugetlbfs: Bad value 'MM' for mount option 'size=MM'
------------[ cut here ]------------
kernel BUG at fs/super.c:996!
Due to
BUG_ON(!mnt->mnt_sb);
in vfs_kern_mount().
Also, remove unused #include <linux/quotaops.h>
Cc: William Irwin <wli@holomorphy.com>
Cc: <stable@kernel.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions