diff options
author | Christoph Hellwig <[email protected]> | 2023-08-11 12:08:18 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-08-21 14:35:30 +0200 |
commit | 0c1c9a27ce909e3988f8c6407e26a22a7e1cd276 (patch) | |
tree | e9e5852342ab28344863057eb419a268eb71e397 /net/lapb/lapb_timer.c | |
parent | 8ffa54e3370c5a8b9538dbe4077fc9c4b5a08f45 (diff) |
nbd: call blk_mark_disk_dead in nbd_clear_sock_ioctl
nbd_clear_sock_ioctl kills the socket and with that the block
device. Instead of just invalidating file system buffers,
mark the device as dead, which will also invalidate the buffers
as part of the proper shutdown sequence. This also includes
invalidating partitions if there are any.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions