diff options
author | 2009-04-21 12:24:05 -0700 | |
---|---|---|
committer | 2009-04-21 13:41:48 -0700 | |
commit | c12ddba09394c60e1120e6997794fa6ed52da884 (patch) | |
tree | 7848a312993bee19c0096b2e4cb08b15140fd08c /lib/dma-debug.c | |
parent | ipmi: add oem message handling (diff) | |
download | linux-rng-c12ddba09394c60e1120e6997794fa6ed52da884.tar.xz linux-rng-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 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions