diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2009-04-21 12:24:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-21 13:41:48 -0700 |
commit | c12ddba09394c60e1120e6997794fa6ed52da884 (patch) | |
tree | 7848a312993bee19c0096b2e4cb08b15140fd08c /crypto/rmd320.c | |
parent | 4dec302ff71ebf48f5784a2d2fc5e3745e6d4d52 (diff) | |
download | op-kernel-dev-c12ddba09394c60e1120e6997794fa6ed52da884.zip op-kernel-dev-c12ddba09394c60e1120e6997794fa6ed52da884.tar.gz |
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 'crypto/rmd320.c')
0 files changed, 0 insertions, 0 deletions