]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb5b11ba3442b27ce8bed70b5d9053b5d8d90c737
tree971124312e028c3403919398725cf289071bf998
parent4d7fa8f1e6ffc63c257ceccd3b5866ec53c38cfd
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