summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2015-12-07 16:24:27 -0600
committerBob Peterson <rpeterso@redhat.com>2016-03-15 10:46:37 -0400
commita4923865ea071b0bd708339df7a83c76732fa2db (patch)
tree26f80b7fe5be0b047ce37fe198d0a4ec797fccdd /fs/gfs2/incore.h
parent2df6f47150b6afbb258ed1d5c9ed78c23df05053 (diff)
downloadlinux-stable-a4923865ea071b0bd708339df7a83c76732fa2db.tar.gz
linux-stable-a4923865ea071b0bd708339df7a83c76732fa2db.tar.bz2
linux-stable-a4923865ea071b0bd708339df7a83c76732fa2db.zip
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>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 845fb09cc606..a6a3389a07fc 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -328,6 +328,7 @@ enum {
GLF_LRU = 13,
GLF_OBJECT = 14, /* Used only for tracing */
GLF_BLOCKING = 15,
+ GLF_INODE_CREATING = 16, /* Inode creation occurring */
};
struct gfs2_glock {