GFS2: Hash the negative dentry during inode lookup
authorBenjamin Coddington <bcodding@redhat.com>
Wed, 10 Sep 2014 18:09:20 +0000 (14:09 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 11 Sep 2014 09:54:43 +0000 (10:54 +0100)
commit7b7a91152d3c2ddca95172cac1675625cc8dffaf
tree5ae5d3c55024e073754699d2936f4f4402a1eef6
parent2ddfbdd6848d496d8088b28992d257fd02e58c9d
GFS2: Hash the negative dentry during inode lookup

Fix a regression introduced by:
6d4ade986f9c8df31e68 GFS2: Add atomic_open support
where an early return misses d_splice_alias() which had been
adding the negative dentry.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c