summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2014-12-04 01:18:21 +0300
committerDave Chinner <david@fromorbit.com>2014-12-04 01:18:21 +0300
commite77b8547ca9c4b87932e9da3db906bc016885d8d (patch)
treed16d7f5d9c4337bf8cbf13266cf4f3d3e989815b /fs/xfs/xfs_super.c
parentdb52d09ecbf85c54e263a9d1ebfb615a9b2b3ba6 (diff)
parentd254aaec5d1aa2997dad035db340c298eaa8d089 (diff)
downloadlinux-e77b8547ca9c4b87932e9da3db906bc016885d8d.tar.xz
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);