Searched hist:"50322 fe7d46b544d5649edb58bdbe5c95dd44b98" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/fuse/ |
H A D | dir.c | diff 50322fe7d46b544d5649edb58bdbe5c95dd44b98 Tue Feb 28 18:59:03 CST 2006 Miklos Szeredi <miklos@szeredi.hu> [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>
|