diff options
author | Dave Chinner <david@fromorbit.com> | 2014-12-01 09:03:02 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-12-01 09:03:02 +1100 |
commit | c14fc01340dd0afe58d8671acc3ea5e907e707ae (patch) | |
tree | 15d26839e5ab12a186e1ad7265020ba6112ac639 /fs/xfs/xfs_super.c | |
parent | 216875a594e0b4fc72830e3690b8fbe7430738e2 (diff) | |
parent | d254aaec5d1aa2997dad035db340c298eaa8d089 (diff) |
Merge branch 'xfs-coccinelle-cleanups' into for-next
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r-- | fs/xfs/xfs_super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index ebd99ea4543a..fee11c867da4 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -793,8 +793,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); |