fs/9p: Fix revalidate to return correct value
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 23 Mar 2011 14:18:16 +0000 (19:48 +0530)
committerEric Van Hensbergen <ericvh@gmail.com>
Fri, 15 Apr 2011 20:26:13 +0000 (15:26 -0500)
commitf2eda2c6cc138710ae775490397657e8877774b6
tree9ff1d2414ff8bde4773ad98dc1f43de82bd57663
parent5853b4f06f7b9b56f37f457d7923f7b96496074e
fs/9p: Fix revalidate to return correct value

revalidate should return > 0 on success. Also return 0 on ENOENT
to force do_revalidate to return NULL dentry;

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_dentry.c