Commit 51bf8d3
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: 3c62be1 ("f2fs: support multiple devices")
Fixes: 0718afd ("block: introduce holder ops")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>1 parent b5ab327 commit 51bf8d3
1 file changed
Lines changed: 8 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1561 | 1561 | | |
1562 | 1562 | | |
1563 | 1563 | | |
1564 | | - | |
| 1564 | + | |
| 1565 | + | |
1565 | 1566 | | |
1566 | 1567 | | |
1567 | 1568 | | |
| |||
4190 | 4191 | | |
4191 | 4192 | | |
4192 | 4193 | | |
4193 | | - | |
4194 | | - | |
| 4194 | + | |
| 4195 | + | |
| 4196 | + | |
4195 | 4197 | | |
4196 | 4198 | | |
4197 | | - | |
4198 | | - | |
4199 | | - | |
4200 | | - | |
4201 | | - | |
4202 | | - | |
| 4199 | + | |
4203 | 4200 | | |
4204 | 4201 | | |
4205 | 4202 | | |
| |||
4215 | 4212 | | |
4216 | 4213 | | |
4217 | 4214 | | |
| 4215 | + | |
| 4216 | + | |
4218 | 4217 | | |
4219 | | - | |
4220 | | - | |
4221 | | - | |
4222 | 4218 | | |
4223 | 4219 | | |
4224 | 4220 | | |
| |||
0 commit comments