From 817a985b623f822700372f51e507e0b4f1618d3f Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 10 Mar 2011 03:44:48 -0500 Subject: [PATCH] --- yaml --- r: 234035 b: refs/heads/master c: 53fe924161ff18d24c5c1c256549e9c1b9874827 h: refs/heads/master i: 234033: 43fd3309d342e936acaaf7dbdf314585f26893b0 234031: 042adce7c59a05c74d0dae7ed41c6e621f3059f9 v: v3 --- [refs] | 2 +- trunk/fs/gfs2/dentry.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 5d9a62730ce6..c4cf0b695157 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 529c5f958f9e60abaa7407986034b17d17536bf2 +refs/heads/master: 53fe924161ff18d24c5c1c256549e9c1b9874827 diff --git a/trunk/fs/gfs2/dentry.c b/trunk/fs/gfs2/dentry.c index 4a456338b873..0da8da2c991d 100644 --- a/trunk/fs/gfs2/dentry.c +++ b/trunk/fs/gfs2/dentry.c @@ -44,7 +44,7 @@ static int gfs2_drevalidate(struct dentry *dentry, struct nameidata *nd) int error; int had_lock = 0; - if (nd->flags & LOOKUP_RCU) + if (nd && nd->flags & LOOKUP_RCU) return -ECHILD; parent = dget_parent(dentry);