diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-03-01 03:59:03 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-01 07:53:43 +0300 |
commit | 50322fe7d46b544d5649edb58bdbe5c95dd44b98 (patch) | |
tree | 0d6b61c08b2e61657278b7ff54529013f9e46d85 /drivers/mtd/redboot.c | |
parent | 511030bcd24119fa3759ef3f914d354e107ef839 (diff) | |
download | linux-50322fe7d46b544d5649edb58bdbe5c95dd44b98.tar.xz |
[PATCH] fuse: fix bug in negative lookup
If negative entries (nodeid == 0) were sent in reply to LOOKUP requests,
two bugs could be triggered:
- looking up a negative entry would return -EIO,
- revaildate on an entry which turned negative would send a FORGET
request with zero nodeid, which would cause an abort() in the
library.
The above would only happen if the 'negative_timeout=N' option was used,
otherwise lookups reply -ENOENT, which worked correctly.
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/mtd/redboot.c')
0 files changed, 0 insertions, 0 deletions