Commit 653cd534 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

Documentation/filesystems/locking.rst: remove an incorrect sentence



unlock_native_capacity is never called from check_disk_change(), and
while revalidate_disk can be called from it, it can also be called
from two other places at the moment.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 265600b7
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -488,9 +488,6 @@ getgeo: no
swap_slot_free_notify:	no	(see below)
======================= ===================

unlock_native_capacity and revalidate_disk are called only from
check_disk_change().

swap_slot_free_notify is called with swap_lock and sometimes the page lock
held.