From: Miklos Szeredi Date: Wed, 1 Mar 2006 00:59:03 +0000 (-0800) Subject: [PATCH] fuse: fix bug in negative lookup X-Git-Tag: v2.6.16-rc6~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50322fe7d46b544d5649edb58bdbe5c95dd44b98;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed