xfs: simplify the xfs_log_release_iclog calling convention
The only caller of xfs_log_release_iclog doesn't care about the return value, so remove it. Also don't bother passing the mount pointer, given that we can trivially derive it from the iclog. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:

committed by
Darrick J. Wong

parent
81e5b50a8f
commit
f97a43e436
@@ -866,7 +866,7 @@ restart:
|
||||
spin_unlock(&cil->xc_push_lock);
|
||||
|
||||
/* release the hounds! */
|
||||
xfs_log_release_iclog(log->l_mp, commit_iclog);
|
||||
xfs_log_release_iclog(commit_iclog);
|
||||
return;
|
||||
|
||||
out_skip:
|
||||
|
Reference in New Issue
Block a user