OSDN Git Service

xfs: Remove "committed" argument of xfs_dir_ialloc
authorChandan Rajendra <chandan@linux.vnet.ibm.com>
Mon, 2 Apr 2018 22:47:43 +0000 (15:47 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 2 Apr 2018 22:47:43 +0000 (15:47 -0700)
commitc959025edad924c8f4a8a3140221f3cde22243db
treec49e7bc84e4bb3c759a70002476b43cafa74a4bb
parentdc1baa715bbfbb1902da942d06497e79b40e7bc7
xfs: Remove "committed" argument of xfs_dir_ialloc

xfs_dir_ialloc() rolls the current transaction when allocation of a new
inode required the space manager to perform an allocation and replinish
the Inode btree.

None of the callers of xfs_dir_ialloc() need to know if the
transaction was committed. Hence this commit removes the "committed"
argument of xfs_dir_ialloc.

Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_qm.c
fs/xfs/xfs_symlink.c