Documentation/filesystems/locking.rst: remove an incorrect sentence
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Sep 2020 15:57:40 +0000 (17:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 13:59:59 +0000 (07:59 -0600)
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: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/filesystems/locking.rst

index 64f94a1..c0f2c75 100644 (file)
@@ -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.