X-Git-Url: https://git.karo-electronics.de/?p=karo-tx-linux.git;a=blobdiff_plain;f=fs%2Fafs%2Fdir.c;h=3756d4fe129fe13bf98995ce37e2321eff0b2fbf;hp=7fb69d45f1b9621a045219e06d3b9ac60bcdfcab;hb=25691330eb62649401cfb18ef518983511f6412f;hpb=40216baa0101ec7ac9ce7c4f4f4d684f3a85eb93 diff --git a/fs/afs/dir.c b/fs/afs/dir.c index 7fb69d45f1b9..3756d4fe129f 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c @@ -600,9 +600,6 @@ static int afs_d_revalidate(struct dentry *dentry, unsigned int flags) /* lock down the parent dentry so we can peer at it */ parent = dget_parent(dentry); - if (!parent->d_inode) - goto out_bad; - dir = AFS_FS_I(parent->d_inode); /* validate the parent directory */