summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-06-28 19:27:17 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2019-06-28 19:27:17 -0700
commit1e85a3670db2f6125e01fed521dae00e9340f048 (patch)
treefdfdf6e9e848448ac5abf96df41f774e1b94c6bf /fs/xfs/xfs_log.c
parent5467b34bd1e81c8e719ae968ba6561723fdc15b8 (diff)
xfs: remove the no-op spinlock_destroy stub
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 2466b0f5b6c4..55cab1c6cf3c 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -1580,7 +1580,6 @@ out_free_iclog:
xfs_buf_free(iclog->ic_bp);
kmem_free(iclog);
}
- spinlock_destroy(&log->l_icloglock);
xfs_buf_free(log->l_xbuf);
out_free_log:
kmem_free(log);
@@ -2027,7 +2026,6 @@ xlog_dealloc_log(
kmem_free(iclog);
iclog = next_iclog;
}
- spinlock_destroy(&log->l_icloglock);
log->l_mp->m_log = NULL;
kmem_free(log);