Re: [PATCH] FUSE: Validate rootmode mount option

2007-04-02 Thread Miklos Szeredi
> If rootmode doesn't include any file type bits, we hit the BUG() in > fuse_init_inode. Now EINVAL is returned. Thanks, well spotted. I'll queue this more complete fix. Miklos From: Timo Savola <[EMAIL PROTECTED]> Subject: fuse: validate rootmode mount option If rootmode isn't valid, we

[PATCH] FUSE: Validate rootmode mount option

2007-04-02 Thread Timo Savola
If rootmode doesn't include any file type bits, we hit the BUG() in fuse_init_inode. Now EINVAL is returned. Signed-off-by: Timo Savola <[EMAIL PROTECTED]> --- fs/fuse/inode.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c index 5ab8e5