diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-02-28 16:59:03 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-28 20:53:43 -0800 |
commit | 50322fe7d46b544d5649edb58bdbe5c95dd44b98 (patch) | |
tree | 0d6b61c08b2e61657278b7ff54529013f9e46d85 /kernel/itimer.c | |
parent | 511030bcd24119fa3759ef3f914d354e107ef839 (diff) |
[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 'kernel/itimer.c')
0 files changed, 0 insertions, 0 deletions