projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13ab648
)
xtensa/simdisk: remove the call to check_disk_change
author
Christoph Hellwig
<hch@lst.de>
Wed, 8 Jul 2020 12:25:45 +0000
(14:25 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 8 Jul 2020 22:20:01 +0000
(16:20 -0600)
The simdisk driver doesn't support event notifications, which means
that check_disk_change is a no-op.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
arch/xtensa/platforms/iss/simdisk.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/platforms/iss/simdisk.c
b/arch/xtensa/platforms/iss/simdisk.c
index 5107140dbb7edc398ff80a1af5f8b4d887304ead..3447556d276d326a734a031963bae95dca411a68 100644
(file)
--- a/
arch/xtensa/platforms/iss/simdisk.c
+++ b/
arch/xtensa/platforms/iss/simdisk.c
@@
-127,8
+127,6
@@
static int simdisk_open(struct block_device *bdev, fmode_t mode)
struct simdisk *dev = bdev->bd_disk->private_data;
spin_lock(&dev->lock);
- if (!dev->users)
- check_disk_change(bdev);
++dev->users;
spin_unlock(&dev->lock);
return 0;