diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-05-22 13:08:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-05-22 13:08:21 -0700 |
| commit | a11a72229881d8ac1d52ea727101bc9c744189c1 (patch) | |
| tree | 1be9b40f0922d0a39a7edadaefc47a11d52832e9 /drivers/block/loop.c | |
| parent | ab719cc7f53b2b84bea96640aec1c3092870766c (diff) | |
| parent | 115c011f5db7e5f1a1f4404a8f5b5c87a3534362 (diff) | |
| download | linux-master.tar.gz | |
Pull block fixes from Jens Axboe:
- Fix for a regression with setting up loop on a file system
without ->write_iter()
- Fix for an nvme sysfs regression
* tag 'block-6.15-20250522' of git://git.kernel.dk/linux:
nvme: avoid creating multipath sysfs group under namespace path devices
loop: don't require ->write_iter for writable files in loop_configure
Diffstat (limited to 'drivers/block/loop.c')
| -rw-r--r-- | drivers/block/loop.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index b8ba7de0875395..e2b1f377f58563 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -979,9 +979,6 @@ static int loop_configure(struct loop_device *lo, blk_mode_t mode, if (!file) return -EBADF; - if ((mode & BLK_OPEN_WRITE) && !file->f_op->write_iter) - return -EINVAL; - error = loop_check_backing_file(file); if (error) return error; |
