linux-next: manual merge of the block tree with Linus' tree
From: Stephen Rothwell
Date: Thu Nov 25 2021 - 18:41:04 EST
Hi all,
Today's linux-next merge of the block tree got a conflict in:
block/bdev.c
between commit:
efcf5932230b ("block: avoid to touch unloaded module instance when opening bdev")
from Linus' tree and commit:
a1525fbf1d76 ("block: remove the GENHD_FL_HIDDEN check in blkdev_get_no_open")
from the block tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc block/bdev.c
index b1d087e5e205,ae063041f291..000000000000
--- a/block/bdev.c
+++ b/block/bdev.c
@@@ -753,10 -753,10 +753,6 @@@ struct block_device *blkdev_get_no_open
if (!bdev)
return NULL;
- if ((bdev->bd_disk->flags & GENHD_FL_HIDDEN)) {
- if (!try_module_get(bdev->bd_disk->fops->owner)) {
-- put_device(&bdev->bd_device);
-- return NULL;
-- }
return bdev;
}
Attachment:
pgpjAJGDDIHmZ.pgp
Description: OpenPGP digital signature