]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] fuse: validate rootmode mount option
authorTimo Savola <tsavola@movial.fi>
Sun, 8 Apr 2007 23:04:00 +0000 (16:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 9 Apr 2007 02:47:55 +0000 (19:47 -0700)
commita5bfffac645a7b2d8119f8bbae34df5c94832799
tree20081cd9ae9afebd6899dd35d5d685ed6fca5440
parentd354d2f4a6fc1b722c2e464a8b3cfd2f6afb304b
[PATCH] fuse: validate rootmode mount option

If rootmode isn't valid, we hit the BUG() in fuse_init_inode.  Now
EINVAL is returned.

Signed-off-by: Timo Savola <tsavola@movial.fi>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dir.c
fs/fuse/fuse_i.h
fs/fuse/inode.c