1
linux/fs/fuse
Miklos Szeredi 50322fe7d4 [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>
2006-02-28 20:53:43 -08:00
..
dev.c [PATCH] fuse: fix bug in aborted fuse_release_end() 2006-02-17 13:59:27 -08:00
dir.c [PATCH] fuse: fix bug in negative lookup 2006-02-28 20:53:43 -08:00
file.c [PATCH] fuse: fix bug in aborted fuse_release_end() 2006-02-17 13:59:27 -08:00
fuse_i.h [PATCH] fuse: fix async read for legacy filesystems 2006-02-01 08:53:09 -08:00
inode.c [PATCH] fuse: fix async read for legacy filesystems 2006-02-01 08:53:09 -08:00
Makefile