diff options
| author | Miklos Szeredi <[email protected]> | 2006-02-28 16:59:03 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-02-28 20:53:43 -0800 |
| commit | 50322fe7d46b544d5649edb58bdbe5c95dd44b98 (patch) | |
| tree | 0d6b61c08b2e61657278b7ff54529013f9e46d85 /scripts/basic/split-include.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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions