Merge branch 'xfs-coccinelle-cleanups' into xfs-misc-fixes-for-3.19-2

This commit is contained in:
Dave Chinner 2014-12-04 09:18:21 +11:00
commit e77b8547ca
5 changed files with 9 additions and 24 deletions

View file

@ -796,8 +796,7 @@ xfs_open_devices(
out_free_ddev_targ:
xfs_free_buftarg(mp, mp->m_ddev_targp);
out_close_rtdev:
if (rtdev)
xfs_blkdev_put(rtdev);
xfs_blkdev_put(rtdev);
out_close_logdev:
if (logdev && logdev != ddev)
xfs_blkdev_put(logdev);