exfat: Unify access to the boot sector
authorTetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp>
Tue, 21 Apr 2020 01:58:58 +0000 (10:58 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Wed, 22 Apr 2020 11:14:05 +0000 (20:14 +0900)
commitb0516833d8096c40ead3169c90d87392fb5f8f45
tree971124312e028c3403919398725cf289071bf998
parentcd76ac258cd92a6425cb68f95a76d6abdce5395a
exfat: Unify access to the boot sector

Unify access to boot sector via 'sbi->pbr_bh'.
This fixes vol_flags inconsistency at read failed in fs_set_vol_flags(),
and buffer_head leak in __exfat_fill_super().

Signed-off-by: Tetsuhiro Kohada <Kohada.Tetsuhiro@dc.MitsubishiElectric.co.jp>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
fs/exfat/balloc.c
fs/exfat/super.c