GFS2: Clean up gfs2_create
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 18 Aug 2011 13:35:53 +0000 (14:35 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 21 Oct 2011 11:39:28 +0000 (12:39 +0100)
If we pass through knowledge of whether the creation is intended to be
exclusive or not, then we can deal with that in gfs2_create_inode
and remove one set of locking. Also this removes the loop in
gfs2_create and simplifies the code a bit.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found