diff options
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/ops_fstype.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c index 95bb33e41a76..e502b379a4da 100644 --- a/fs/gfs2/ops_fstype.c +++ b/fs/gfs2/ops_fstype.c | |||
@@ -1258,6 +1258,8 @@ fail_sb: | |||
1258 | dput(sdp->sd_root_dir); | 1258 | dput(sdp->sd_root_dir); |
1259 | if (sdp->sd_master_dir) | 1259 | if (sdp->sd_master_dir) |
1260 | dput(sdp->sd_master_dir); | 1260 | dput(sdp->sd_master_dir); |
1261 | if (sb->s_root) | ||
1262 | dput(sb->s_root); | ||
1261 | sb->s_root = NULL; | 1263 | sb->s_root = NULL; |
1262 | fail_locking: | 1264 | fail_locking: |
1263 | init_locking(sdp, &mount_gh, UNDO); | 1265 | init_locking(sdp, &mount_gh, UNDO); |