|
|
| version 1.400, 2007/08/02 16:09:24 | version 1.401, 2007/08/02 16:12:32 |
|---|---|
| Line 1262 xfs_unmountfs(xfs_mount_t *mp, struct cr | Line 1262 xfs_unmountfs(xfs_mount_t *mp, struct cr |
| void | void |
| xfs_unmountfs_close(xfs_mount_t *mp, struct cred *cr) | xfs_unmountfs_close(xfs_mount_t *mp, struct cred *cr) |
| { | { |
| if (mp->m_logdev_targp != mp->m_ddev_targp) | if (mp->m_logdev_targp && mp->m_logdev_targp != mp->m_ddev_targp) |
| xfs_free_buftarg(mp->m_logdev_targp, 1); | xfs_free_buftarg(mp->m_logdev_targp, 1); |
| if (mp->m_rtdev_targp) | if (mp->m_rtdev_targp) |
| xfs_free_buftarg(mp->m_rtdev_targp, 1); | xfs_free_buftarg(mp->m_rtdev_targp, 1); |