diff options
Diffstat (limited to 'fs/xfs/xfs_log.c')
-rw-r--r-- | fs/xfs/xfs_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index ad3d26ddfe31..16a01abe2490 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xfs_log.c | |||
@@ -1570,7 +1570,7 @@ xlog_dealloc_log(xlog_t *log) | |||
1570 | } | 1570 | } |
1571 | #endif | 1571 | #endif |
1572 | next_iclog = iclog->ic_next; | 1572 | next_iclog = iclog->ic_next; |
1573 | kmem_free(iclog, sizeof(xlog_in_core_t)); | 1573 | kmem_free(iclog); |
1574 | iclog = next_iclog; | 1574 | iclog = next_iclog; |
1575 | } | 1575 | } |
1576 | freesema(&log->l_flushsema); | 1576 | freesema(&log->l_flushsema); |
@@ -1587,7 +1587,7 @@ xlog_dealloc_log(xlog_t *log) | |||
1587 | } | 1587 | } |
1588 | #endif | 1588 | #endif |
1589 | log->l_mp->m_log = NULL; | 1589 | log->l_mp->m_log = NULL; |
1590 | kmem_free(log, sizeof(xlog_t)); | 1590 | kmem_free(log); |
1591 | } /* xlog_dealloc_log */ | 1591 | } /* xlog_dealloc_log */ |
1592 | 1592 | ||
1593 | /* | 1593 | /* |