commit | cbc0f4ebf1561c5e8419513a4512a2aa383833bf | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Mon Apr 22 20:22:36 2019 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Wed May 08 21:47:05 2019 -0700 |
tree | 2916824cfd4f159b23205f368db2f63f2db77e9a | |
parent | 1b728c7a0d4cdcef0b5432ed852b02372b7f1ec4 [diff] |
f2fs: fix to consider multiple device for readonly check This patch introduce f2fs_hw_is_readonly() to check whether lower device is readonly or not, it adapts multiple device scenario. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>