]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Thu, 27 Oct 2011 08:08:03 +0000 (09:08 +0100)
commit5e0df5d7a8b4ad5a46f2d37f8320b537f84591e2
tree22292a7259f8ab152d7149455cd2a1834830624b
parentfb3f30d3669707621412c24c6b1f024abcbac192
GFS2: Clean up gfs2_create

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>
fs/gfs2/inode.c