diff options
| author | Miklos Szeredi <[email protected]> | 2008-02-23 15:23:27 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-23 17:12:13 -0800 |
| commit | 1a823ac9ff09cbdf39201df37b7ede1f9395de83 (patch) | |
| tree | 8b61341ef969a3107cb5d3c8fb9317ec250507a6 /include/linux/debugobjects.h | |
| parent | fddd9cf82c9f9617d134ae878a8f6b116ebbd43d (diff) | |
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 <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions