]> 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, 18 Aug 2011 13:35:53 +0000 (14:35 +0100)
commit27c2dd7c7ec10ff98dedd30ef2cd14f8957e6624
tree1c24496640a4a881a80727b6b81ee721f0b6c922
parentbd3a160369f94e54af8e20c9d4cc35a84666b94a
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