diff options
| author | Al Viro <[email protected]> | 2024-04-12 05:21:45 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2024-05-03 00:00:37 +0000 |
| commit | ac2b6f9dee8f41d5e9162959a8bbd2c8047ee382 (patch) | |
| tree | 1f28cb4449ce1258e6b0b793607bce2383ea5d87 /net/unix/af_unix.c | |
| parent | bdev: move ->bd_write_holder into ->__bd_flags (diff) | |
| download | kernel-ac2b6f9dee8f41d5e9162959a8bbd2c8047ee382.tar.gz kernel-ac2b6f9dee8f41d5e9162959a8bbd2c8047ee382.zip | |
bdev: move ->bd_has_subit_bio to ->__bd_flags
In bdev_alloc() we have all flags initialized to false, so
assignment to ->bh_has_submit_bio n there is a no-op unless
we have partno != 0 and flag already set on entire device.
In device_add_disk() we have just allocated the block_device
in question and it had been a full-device one, so the flag
is guaranteed to be still clear when we get to assignment.
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
