1
linux/fs/fuse
Miklos Szeredi 1a823ac9ff fuse: fix permission checking
I added a nasty local variable shadowing bug to fuse in 2.6.24, with the
result, that the 'default_permissions' mount option is basically ignored.

How did this happen?

 - old err declaration in inner scope
 - new err getting declared in outer scope
 - 'return err' from inner scope getting removed
 - old declaration not being noticed

-Wshadow would have saved us, but it doesn't seem practical for
the kernel :(

More testing would have also saved us :((

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-23 17:12:13 -08:00
..
control.c
dev.c fuse: limit queued background requests 2008-02-06 10:41:13 -08:00
dir.c fuse: fix permission checking 2008-02-23 17:12:13 -08:00
file.c fuse: save space in struct fuse_req 2008-02-06 10:41:13 -08:00
fuse_i.h fuse: limit queued background requests 2008-02-06 10:41:13 -08:00
inode.c mount options: fix fuse 2008-02-08 09:22:40 -08:00
Makefile