[PATCH 5/5] GFS2: Check for glock already held in gfs2_getxattr

2013-08-19 Thread Steven Whitehouse
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 Reported-by: David Teigland Tested-by: David Teigland diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index a01b8fd..64915ee 100644 ---

[PATCH 5/5] GFS2: Check for glock already held in gfs2_getxattr

2013-08-19 Thread Steven Whitehouse
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 swhit...@redhat.com Reported-by: David Teigland teigl...@redhat.com Tested-by: David Teigland teigl...@redhat.com diff --git