aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2014-12-04 09:18:21 +1100
committerDave Chinner <david@fromorbit.com>2014-12-04 09:18:21 +1100
commite77b8547ca9c4b87932e9da3db906bc016885d8d (patch)
treed16d7f5d9c4337bf8cbf13266cf4f3d3e989815b /fs/xfs/xfs_super.c
parentxfs: catch invalid negative blknos in _xfs_buf_find() (diff)
parentxfs: fix simple_return.cocci warning in xfs_bmse_shift_one (diff)
downloadlinux-dev-e77b8547ca9c4b87932e9da3db906bc016885d8d.tar.xz
linux-dev-e77b8547ca9c4b87932e9da3db906bc016885d8d.zip
Merge branch 'xfs-coccinelle-cleanups' into xfs-misc-fixes-for-3.19-2
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r--fs/xfs/xfs_super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 03e3cc242902..a0f58d933261 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -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);