commit | 53fe924161ff18d24c5c1c256549e9c1b9874827 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 10 03:44:48 2011 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 10 03:44:48 2011 -0500 |
tree | 4447ddc370f8138952146e54c515675cc026a2ee | |
parent | 529c5f958f9e60abaa7407986034b17d17536bf2 [diff] [blame] |
gfs2: fix d_revalidate oopsen on NFS exports can't blindly check nd->flags in ->d_revalidate() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/gfs2/dentry.c b/fs/gfs2/dentry.c index 4a45633..0da8da2 100644 --- a/fs/gfs2/dentry.c +++ b/fs/gfs2/dentry.c
@@ -44,7 +44,7 @@ int error; int had_lock = 0; - if (nd->flags & LOOKUP_RCU) + if (nd && nd->flags & LOOKUP_RCU) return -ECHILD; parent = dget_parent(dentry);