diff options
author | Christoph Hellwig <[email protected]> | 2023-07-07 10:31:49 +0200 |
---|---|---|
committer | Jaegeuk Kim <[email protected]> | 2023-08-14 13:41:08 -0700 |
commit | 51bf8d3c81992ae57beeaf22df78ed7c2782af9d (patch) | |
tree | 7fb5fe9f5b8770a93580a63dde950ce7b21109fe /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | b5ab3276eb69cacf44ecfb11b2bfab73096ff4e4 (diff) |
f2fs: don't reopen the main block device in f2fs_scan_devices
f2fs_scan_devices reopens the main device since the very beginning, which
has always been useless, and also means that we don't pass the right
holder for the reopen, which now leads to a warning as the core super.c
holder ops aren't passed in for the reopen.
Fixes: 3c62be17d4f5 ("f2fs: support multiple devices")
Fixes: 0718afd47f70 ("block: introduce holder ops")
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions