diff options
| author | Christoph Hellwig <[email protected]> | 2020-09-08 14:15:06 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-09-08 14:18:24 +0000 |
| commit | 88ce2a530cc9865a894454b2e40eba5957a60e1a (patch) | |
| tree | e5403a98c02f4342d19a1350750f81eeba6d36e6 /net/switchdev/switchdev.c | |
| parent | block: allow for_each_bvec to support zero len bvec (diff) | |
| download | kernel-88ce2a530cc9865a894454b2e40eba5957a60e1a.tar.gz kernel-88ce2a530cc9865a894454b2e40eba5957a60e1a.zip | |
block: restore a specific error code in bdev_del_partition
mdadm relies on the fact that deleting an invalid partition returns
-ENXIO or -ENOTTY to detect if a block device is a partition or a
whole device.
Fixes: 08fc1ab6d748 ("block: fix locking in bdev_del_partition")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
