diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2009-04-21 21:20:04 +0000 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2009-04-27 10:37:05 -0700 |
commit | 5a9b5af39e948919f272867516faa61c093124f6 (patch) | |
tree | 9d4a1ce218fa13eed5265711fdc1521ae2986e68 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 52f8cf35ef8716fbcb00ffe3a680d2a4c54e412d (diff) |
hugetlbfs: return negative error code for bad mount option
upstream commit: c12ddba09394c60e1120e6997794fa6ed52da884
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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions