GFS2: Prevent delete work from occurring on glocks used for create
authorBob Peterson <rpeterso@redhat.com>
Mon, 7 Dec 2015 22:24:27 +0000 (16:24 -0600)
committerBob Peterson <rpeterso@redhat.com>
Tue, 15 Mar 2016 14:46:37 +0000 (10:46 -0400)
commita4923865ea071b0bd708339df7a83c76732fa2db
tree26f80b7fe5be0b047ce37fe198d0a4ec797fccdd
parent2df6f47150b6afbb258ed1d5c9ed78c23df05053
GFS2: Prevent delete work from occurring on glocks used for create

This patch tries to prevent delete work (queued via iopen callback)
from executing if the glock is currently being used to create
a new inode.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/incore.h
fs/gfs2/inode.c