projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'block-5.13-2021-05-22' of git://git.kernel.dk/linux-block
[platform/kernel/linux-rpi.git]
/
fs
/
block_dev.c
diff --git
a/fs/block_dev.c
b/fs/block_dev.c
index
4494411
..
6cc4d4c
100644
(file)
--- a/
fs/block_dev.c
+++ b/
fs/block_dev.c
@@
-79,7
+79,7
@@
static void kill_bdev(struct block_device *bdev)
{
struct address_space *mapping = bdev->bd_inode->i_mapping;
- if (mapping
->nrpages == 0 && mapping->nrexceptional == 0
)
+ if (mapping
_empty(mapping)
)
return;
invalidate_bh_lrus();