]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit - fs/gfs2/inode.c
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)
commit9a63edd12ba3c18351f00d6b77a6b2f49f2b8eb6
tree46aac35d5e39bd393aca9cd2654235be42859d82
parentab9bbda0204dfd0e5342562d9979d1241b14ea5f
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