GFS2: Check for glock already held in gfs2_getxattr
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 16 Aug 2013 20:10:28 +0000 (21:10 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 19 Aug 2013 08:33:57 +0000 (09:33 +0100)
commit7bd9ee58a4fe026514266757e812cb89c3c945eb
tree88c4560fa6bd0fdbb50a0313462fd01e209a3182
parentdfc4616ddeb133290599d4d13936e208f6ba8142
GFS2: Check for glock already held in gfs2_getxattr

Since the introduction of atomic_open, gfs2_getxattr can be
called with the glock already held, so we need to allow for
this.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Reported-by: David Teigland <teigland@redhat.com>
Tested-by: David Teigland <teigland@redhat.com>
fs/gfs2/inode.c