fs: update fs_dev_part in fs_set_blk_dev_with_part()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Wed, 17 Oct 2018 07:32:02 +0000 (16:32 +0900)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 20:59:36 +0000 (21:59 +0100)
commitb0c78d8ffc9fe8b0388353d72e9f2b9e9c6107c6
tree0086aa9e58bc75687e99cbeb88e6792667bc3395
parenta33a4efd2785dfda23216bc97e7b636cfd29b9f8
fs: update fs_dev_part in fs_set_blk_dev_with_part()

As in the case of fs_set_blk_dev(), fs_set_blk_dev_with_part() should
maintain and update fs_dev_part whenever called.

Without this patch, a problem will come up when an efi binary associated
with efi's BOOTxxxx variable is invoked via "bootefi bootmgr".

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
fs/fs.c