Home
last modified time | relevance | path

Searched hist:"50322 fe7" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/fuse/
H A Ddir.c50322fe7 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>