All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Coly Li <colyli@suse.de>, Mike Snitzer <snitzer@redhat.com>,
	Song Liu <song@kernel.org>, David Sterba <dsterba@suse.com>,
	Josef Bacik <josef@toxicpanda.com>,
	"Theodore Ts'o" <tytso@mit.edu>,
	OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
	Dave Kleikamp <shaggy@kernel.org>,
	Ryusuke Konishi <konishi.ryusuke@gmail.com>,
	Anton Altaparmakov <anton@tuxera.com>,
	Konstantin Komarov <almaz.alexandrovich@paragon-software.com>,
	Kees Cook <keescook@chromium.org>,
	Phillip Lougher <phillip@squashfs.org.uk>,
	Jan Kara <jack@suse.com>,
	linux-block@vger.kernel.org, dm-devel@redhat.com,
	drbd-dev@lists.linbit.com, linux-bcache@vger.kernel.org,
	linux-raid@vger.kernel.org, linux-mtd@lists.infradead.org,
	linux-nvme@lists.infradead.org, linux-scsi@vger.kernel.org,
	target-devel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org,
	jfs-discussion@lists.sourceforge.net, linux-nfs@vger.kernel.org,
	linux-nilfs@vger.kernel.org,
	linux-ntfs-dev@lists.sourceforge.net, ntfs3@lists.linux.dev,
	reiserfs-devel@vger.kernel.org
Subject: [PATCH 05/29] mtd/block2mtd: use bdev_nr_sectors instead of open coding it
Date: Wed, 13 Oct 2021 07:10:18 +0200	[thread overview]
Message-ID: <20211013051042.1065752-6-hch@lst.de> (raw)
In-Reply-To: <20211013051042.1065752-1-hch@lst.de>

Use the proper helper to read the block device size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/mtd/devices/block2mtd.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c
index c08721b11642b..d2d1a712188ce 100644
--- a/drivers/mtd/devices/block2mtd.c
+++ b/drivers/mtd/devices/block2mtd.c
@@ -269,7 +269,7 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size,
 		goto err_free_block2mtd;
 	}
 
-	if ((long)dev->blkdev->bd_inode->i_size % erase_size) {
+	if ((long)(bdev_nr_sectors(dev->blkdev) << SECTOR_SHIFT) % erase_size) {
 		pr_err("erasesize must be a divisor of device size\n");
 		goto err_free_block2mtd;
 	}
@@ -284,7 +284,8 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size,
 
 	dev->mtd.name = name;
 
-	dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK;
+	dev->mtd.size =
+		(bdev_nr_sectors(dev->blkdev) << SECTOR_SHIFT) & PAGE_MASK;
 	dev->mtd.erasesize = erase_size;
 	dev->mtd.writesize = 1;
 	dev->mtd.writebufsize = PAGE_SIZE;
-- 
2.30.2


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Dave Kleikamp <shaggy@kernel.org>,
	jfs-discussion@lists.sourceforge.net,
	Mike Snitzer <snitzer@redhat.com>,
	linux-nvme@lists.infradead.org,
	Konstantin Komarov <almaz.alexandrovich@paragon-software.com>,
	Song Liu <song@kernel.org>,
	dm-devel@redhat.com, target-devel@vger.kernel.org,
	linux-mtd@lists.infradead.org, reiserfs-devel@vger.kernel.org,
	drbd-dev@lists.linbit.com, linux-nilfs@vger.kernel.org,
	linux-scsi@vger.kernel.org,
	OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
	linux-ext4@vger.kernel.org, Kees Cook <keescook@chromium.org>,
	Josef Bacik <josef@toxicpanda.com>, Coly Li <colyli@suse.de>,
	linux-raid@vger.kernel.org, linux-bcache@vger.kernel.org,
	David Sterba <dsterba@suse.com>,
	Ryusuke Konishi <konishi.ryusuke@gmail.com>,
	Anton Altaparmakov <anton@tuxera.com>,
	linux-block@vger.kernel.org, linux-nfs@vger.kernel.org,
	Theodore Ts'o <tytso@mit.edu>,
	linux-ntfs-dev@lists.sourceforge.net, Jan Kara <jack@suse.com>,
	linux-fsdevel@vger.kernel.org,
	Phillip Lougher <phillip@squashfs.org.uk>,
	ntfs3@lists.linux.dev, linux-btrfs@vger.kernel.org
Subject: [dm-devel] [PATCH 05/29] mtd/block2mtd: use bdev_nr_sectors instead of open coding it
Date: Wed, 13 Oct 2021 07:10:18 +0200	[thread overview]
Message-ID: <20211013051042.1065752-6-hch@lst.de> (raw)
In-Reply-To: <20211013051042.1065752-1-hch@lst.de>

Use the proper helper to read the block device size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/mtd/devices/block2mtd.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c
index c08721b11642b..d2d1a712188ce 100644
--- a/drivers/mtd/devices/block2mtd.c
+++ b/drivers/mtd/devices/block2mtd.c
@@ -269,7 +269,7 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size,
 		goto err_free_block2mtd;
 	}
 
-	if ((long)dev->blkdev->bd_inode->i_size % erase_size) {
+	if ((long)(bdev_nr_sectors(dev->blkdev) << SECTOR_SHIFT) % erase_size) {
 		pr_err("erasesize must be a divisor of device size\n");
 		goto err_free_block2mtd;
 	}
@@ -284,7 +284,8 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size,
 
 	dev->mtd.name = name;
 
-	dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK;
+	dev->mtd.size =
+		(bdev_nr_sectors(dev->blkdev) << SECTOR_SHIFT) & PAGE_MASK;
 	dev->mtd.erasesize = erase_size;
 	dev->mtd.writesize = 1;
 	dev->mtd.writebufsize = PAGE_SIZE;
-- 
2.30.2

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Coly Li <colyli@suse.de>, Mike Snitzer <snitzer@redhat.com>,
	Song Liu <song@kernel.org>, David Sterba <dsterba@suse.com>,
	Josef Bacik <josef@toxicpanda.com>,
	"Theodore Ts'o" <tytso@mit.edu>,
	OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
	Dave Kleikamp <shaggy@kernel.org>,
	Ryusuke Konishi <konishi.ryusuke@gmail.com>,
	Anton Altaparmakov <anton@tuxera.com>,
	Konstantin Komarov <almaz.alexandrovich@paragon-software.com>,
	Kees Cook <keescook@chromium.org>,
	Phillip Lougher <phillip@squashfs.org.uk>,
	Jan Kara <jack@suse.com>,
	linux-block@vger.kernel.org, dm-devel@redhat.com,
	drbd-dev@lists.linbit.com, linux-bcache@vger.kernel.org,
	linux-raid@vger.kernel.org, linux-mtd@lists.infradead.org,
	linux-nvme@lists.infradead.org, linux-scsi@vger.kernel.org,
	target-devel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org,
	jfs-discussion@lists.sourceforge.net, linux-nfs@vger.kernel.org,
	linux-nilfs@vger.kernel.org,
	linux-ntfs-dev@lists.sourceforge.net, ntfs3@lists.linux.dev,
	reiserfs-devel@vger.kernel.org
Subject: [PATCH 05/29] mtd/block2mtd: use bdev_nr_sectors instead of open coding it
Date: Wed, 13 Oct 2021 07:10:18 +0200	[thread overview]
Message-ID: <20211013051042.1065752-6-hch@lst.de> (raw)
In-Reply-To: <20211013051042.1065752-1-hch@lst.de>

Use the proper helper to read the block device size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/mtd/devices/block2mtd.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c
index c08721b11642b..d2d1a712188ce 100644
--- a/drivers/mtd/devices/block2mtd.c
+++ b/drivers/mtd/devices/block2mtd.c
@@ -269,7 +269,7 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size,
 		goto err_free_block2mtd;
 	}
 
-	if ((long)dev->blkdev->bd_inode->i_size % erase_size) {
+	if ((long)(bdev_nr_sectors(dev->blkdev) << SECTOR_SHIFT) % erase_size) {
 		pr_err("erasesize must be a divisor of device size\n");
 		goto err_free_block2mtd;
 	}
@@ -284,7 +284,8 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size,
 
 	dev->mtd.name = name;
 
-	dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK;
+	dev->mtd.size =
+		(bdev_nr_sectors(dev->blkdev) << SECTOR_SHIFT) & PAGE_MASK;
 	dev->mtd.erasesize = erase_size;
 	dev->mtd.writesize = 1;
 	dev->mtd.writebufsize = PAGE_SIZE;
-- 
2.30.2


WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Coly Li <colyli@suse.de>, Mike Snitzer <snitzer@redhat.com>,
	Song Liu <song@kernel.org>, David Sterba <dsterba@suse.com>,
	Josef Bacik <josef@toxicpanda.com>,
	"Theodore Ts'o" <tytso@mit.edu>,
	OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
	Dave Kleikamp <shaggy@kernel.org>,
	Ryusuke Konishi <konishi.ryusuke@gmail.com>,
	Anton Altaparmakov <anton@tuxera.com>,
	Konstantin Komarov <almaz.alexandrovich@paragon-software.com>,
	Kees Cook <keescook@chromium.org>,
	Phillip Lougher <phillip@squashfs.org.uk>,
	Jan Kara <jack@suse.com>,
	linux-block@vger.kernel.org, dm-devel@redhat.com,
	drbd-dev@lists.linbit.com, linux-bcache@vger.kernel.org,
	linux-raid@vger.kernel.org, linux-mtd@lists.infradead.org,
	linux-nvme@lists.infradead.org, linux-scsi@vger.kernel.org,
	target-devel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-btrfs@vger.kernel.org, linux-ext4@vger.kernel.org,
	jfs-discussion@lists.sourceforge.net, linux-nfs@vger.kernel.org,
	linux-nilfs@vger.kernel.org,
	linux-ntfs-dev@lists.sourceforge.net, ntfs3@lists.linux.dev,
	reiserfs-devel@vger.kernel.org
Subject: [PATCH 05/29] mtd/block2mtd: use bdev_nr_sectors instead of open coding it
Date: Wed, 13 Oct 2021 07:10:18 +0200	[thread overview]
Message-ID: <20211013051042.1065752-6-hch@lst.de> (raw)
In-Reply-To: <20211013051042.1065752-1-hch@lst.de>

Use the proper helper to read the block device size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/mtd/devices/block2mtd.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c
index c08721b11642b..d2d1a712188ce 100644
--- a/drivers/mtd/devices/block2mtd.c
+++ b/drivers/mtd/devices/block2mtd.c
@@ -269,7 +269,7 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size,
 		goto err_free_block2mtd;
 	}
 
-	if ((long)dev->blkdev->bd_inode->i_size % erase_size) {
+	if ((long)(bdev_nr_sectors(dev->blkdev) << SECTOR_SHIFT) % erase_size) {
 		pr_err("erasesize must be a divisor of device size\n");
 		goto err_free_block2mtd;
 	}
@@ -284,7 +284,8 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size,
 
 	dev->mtd.name = name;
 
-	dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK;
+	dev->mtd.size =
+		(bdev_nr_sectors(dev->blkdev) << SECTOR_SHIFT) & PAGE_MASK;
 	dev->mtd.erasesize = erase_size;
 	dev->mtd.writesize = 1;
 	dev->mtd.writebufsize = PAGE_SIZE;
-- 
2.30.2


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

WARNING: multiple messages have this Message-ID (diff)
From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Dave Kleikamp <shaggy@kernel.org>,
	jfs-discussion@lists.sourceforge.net,
	Mike Snitzer <snitzer@redhat.com>,
	linux-nvme@lists.infradead.org,
	Konstantin Komarov <almaz.alexandrovich@paragon-software.com>,
	Song Liu <song@kernel.org>,
	dm-devel@redhat.com, target-devel@vger.kernel.org,
	linux-mtd@lists.infradead.org, reiserfs-devel@vger.kernel.org,
	drbd-dev@lists.linbit.com, linux-nilfs@vger.kernel.org,
	linux-scsi@vger.kernel.org,
	OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>,
	linux-ext4@vger.kernel.org, Kees Cook <keescook@chromium.org>,
	Josef Bacik <josef@toxicpanda.com>, Coly Li <colyli@suse.de>,
	linux-raid@vger.kernel.org, linux-bcache@vger.kernel.org,
	David Sterba <dsterba@suse.com>,
	Ryusuke Konishi <konishi.ryusuke@gmail.com>,
	Anton Altaparmakov <anton@tuxera.com>,
	linux-block@vger.kernel.org, linux-nfs@vger.kernel.org,
	Theodore Ts'o <tytso@mit.edu>,
	linux-ntfs-dev@lis
Subject: [PATCH 05/29] mtd/block2mtd: use bdev_nr_sectors instead of open coding it
Date: Wed, 13 Oct 2021 07:10:18 +0200	[thread overview]
Message-ID: <20211013051042.1065752-6-hch@lst.de> (raw)
In-Reply-To: <20211013051042.1065752-1-hch@lst.de>

Use the proper helper to read the block device size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/mtd/devices/block2mtd.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/devices/block2mtd.c b/drivers/mtd/devices/block2mtd.c
index c08721b11642b..d2d1a712188ce 100644
--- a/drivers/mtd/devices/block2mtd.c
+++ b/drivers/mtd/devices/block2mtd.c
@@ -269,7 +269,7 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size,
 		goto err_free_block2mtd;
 	}
 
-	if ((long)dev->blkdev->bd_inode->i_size % erase_size) {
+	if ((long)(bdev_nr_sectors(dev->blkdev) << SECTOR_SHIFT) % erase_size) {
 		pr_err("erasesize must be a divisor of device size\n");
 		goto err_free_block2mtd;
 	}
@@ -284,7 +284,8 @@ static struct block2mtd_dev *add_device(char *devname, int erase_size,
 
 	dev->mtd.name = name;
 
-	dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK;
+	dev->mtd.size =
+		(bdev_nr_sectors(dev->blkdev) << SECTOR_SHIFT) & PAGE_MASK;
 	dev->mtd.erasesize = erase_size;
 	dev->mtd.writesize = 1;
 	dev->mtd.writebufsize = PAGE_SIZE;
-- 
2.30.2

  parent reply	other threads:[~2021-10-13  5:16 UTC|newest]

Thread overview: 364+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13  5:10 don't use ->bd_inode to access the block device size Christoph Hellwig
2021-10-13  5:10 ` Christoph Hellwig
2021-10-13  5:10 ` Christoph Hellwig
2021-10-13  5:10 ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10 ` Christoph Hellwig
2021-10-13  5:10 ` [PATCH 01/29] bcache: remove bdev_sectors Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:21   ` Coly Li
2021-10-13  5:21     ` Coly Li
2021-10-13  5:21     ` Coly Li
2021-10-13  5:21     ` [dm-devel] " Coly Li
2021-10-13  5:21     ` Coly Li
2021-10-13  6:09   ` Kees Cook
2021-10-13  6:09     ` Kees Cook
2021-10-13  6:09     ` Kees Cook
2021-10-13  6:09     ` Kees Cook
2021-10-13  6:09     ` [dm-devel] " Kees Cook
2021-10-13  5:10 ` [PATCH 02/29] drbd: use bdev_nr_sectors instead of open coding it Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  6:09   ` Kees Cook
2021-10-13  6:09     ` Kees Cook
2021-10-13  6:09     ` Kees Cook
2021-10-13  6:09     ` Kees Cook
2021-10-13  6:09     ` [dm-devel] " Kees Cook
2021-10-13 22:33   ` Chaitanya Kulkarni
2021-10-13 22:33     ` Chaitanya Kulkarni
2021-10-13 22:33     ` [dm-devel] " Chaitanya Kulkarni
2021-10-13 22:33     ` Chaitanya Kulkarni
2021-10-13  5:10 ` [PATCH 03/29] dm: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  6:10   ` Kees Cook
2021-10-13  6:10     ` Kees Cook
2021-10-13  6:10     ` Kees Cook
2021-10-13  6:10     ` Kees Cook
2021-10-13  6:10     ` [dm-devel] " Kees Cook
2021-10-13 16:43   ` Mike Snitzer
2021-10-13 16:43     ` Mike Snitzer
2021-10-13 16:43     ` [dm-devel] " Mike Snitzer
2021-10-13 16:43     ` Mike Snitzer
2021-10-13  5:10 ` [PATCH 04/29] md: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  6:12   ` Kees Cook
2021-10-13  6:12     ` Kees Cook
2021-10-13  6:12     ` Kees Cook
2021-10-13  6:12     ` Kees Cook
2021-10-13  6:12     ` [dm-devel] " Kees Cook
2021-10-13 21:14     ` Song Liu
2021-10-13 21:14       ` Song Liu
2021-10-13 21:14       ` [dm-devel] " Song Liu
2021-10-13 21:14       ` Song Liu
2021-10-13  5:10 ` Christoph Hellwig [this message]
2021-10-13  5:10   ` [PATCH 05/29] mtd/block2mtd: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10 ` [PATCH 06/29] nvmet: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13 22:33   ` Chaitanya Kulkarni
2021-10-13 22:33     ` Chaitanya Kulkarni
2021-10-13 22:33     ` [dm-devel] " Chaitanya Kulkarni
2021-10-13 22:33     ` Chaitanya Kulkarni
2021-10-13  5:10 ` [dm-devel] [PATCH 07/29] target/iblock: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  9:31   ` Bodo Stroesser
2021-10-13  9:31     ` Bodo Stroesser
2021-10-13  9:31     ` [dm-devel] " Bodo Stroesser
2021-10-13  9:31     ` Bodo Stroesser
2021-10-13  9:31     ` Bodo Stroesser
2021-10-13 22:37   ` Chaitanya Kulkarni
2021-10-13 22:37     ` Chaitanya Kulkarni
2021-10-13 22:37     ` [dm-devel] " Chaitanya Kulkarni
2021-10-13 22:37     ` Chaitanya Kulkarni
2021-10-13  5:10 ` [PATCH 08/29] fs: use bdev_nr_sectors instead of open coding it in blkdev_max_block Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13 10:42   ` Jan Kara
2021-10-13 10:42     ` Jan Kara
2021-10-13 10:42     ` Jan Kara
2021-10-13 10:42     ` Jan Kara
2021-10-13 10:42     ` [dm-devel] " Jan Kara
2021-10-13 22:35   ` Chaitanya Kulkarni
2021-10-13 22:35     ` Chaitanya Kulkarni
2021-10-13 22:35     ` [dm-devel] " Chaitanya Kulkarni
2021-10-13 22:35     ` Chaitanya Kulkarni
2021-10-13  5:10 ` [PATCH 09/29] fs: simplify init_page_buffers Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  6:14   ` Kees Cook
2021-10-13  6:14     ` Kees Cook
2021-10-13  6:14     ` Kees Cook
2021-10-13  6:14     ` Kees Cook
2021-10-13  6:14     ` [dm-devel] " Kees Cook
2021-10-13 10:42   ` Jan Kara
2021-10-13 10:42     ` Jan Kara
2021-10-13 10:42     ` Jan Kara
2021-10-13 10:42     ` Jan Kara
2021-10-13 10:42     ` [dm-devel] " Jan Kara
2021-10-13  5:10 ` [dm-devel] [PATCH 10/29] affs: use bdev_nr_sectors instead of open coding it Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  6:14   ` Kees Cook
2021-10-13  6:14     ` Kees Cook
2021-10-13  6:14     ` Kees Cook
2021-10-13  6:14     ` Kees Cook
2021-10-13  6:14     ` [dm-devel] " Kees Cook
2021-10-13  5:10 ` [PATCH 11/29] btrfs: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  7:08   ` Anand Jain
2021-10-13  7:08     ` Anand Jain
2021-10-13  7:08     ` [dm-devel] " Anand Jain
2021-10-13  7:08     ` Anand Jain
2021-10-13  7:08     ` Anand Jain
2021-10-13 22:36   ` Chaitanya Kulkarni
2021-10-13 22:36     ` Chaitanya Kulkarni
2021-10-13 22:36     ` [dm-devel] " Chaitanya Kulkarni
2021-10-13 22:36     ` Chaitanya Kulkarni
2021-10-14  2:44   ` Keith Busch
2021-10-14  2:44     ` Keith Busch
2021-10-14  2:44     ` [dm-devel] " Keith Busch
2021-10-14  2:44     ` Keith Busch
2021-10-13  5:10 ` [PATCH 12/29] cramfs: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  6:16   ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` [dm-devel] " Kees Cook
2021-10-13  5:10 ` [PATCH 13/29] fat: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  6:16   ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` [dm-devel] " Kees Cook
2021-10-13  5:10 ` [PATCH 14/29] hfs: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  6:16   ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` [dm-devel] " Kees Cook
2021-10-13  5:10 ` [dm-devel] [PATCH 15/29] hfsplus: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  6:16   ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` Kees Cook
2021-10-13  6:16     ` [dm-devel] " Kees Cook
2021-10-13  5:10 ` [PATCH 16/29] jfs: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13 14:13   ` Dave Kleikamp
2021-10-13 14:13     ` Dave Kleikamp
2021-10-13 14:13     ` [dm-devel] " Dave Kleikamp
2021-10-13 14:13     ` Dave Kleikamp
2021-10-13 14:13     ` Dave Kleikamp
2021-10-13  5:10 ` [PATCH 17/29] nfs/blocklayout: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10 ` [PATCH 18/29] nilfs2: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10 ` [dm-devel] [PATCH 19/29] ntfs3: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10 ` [PATCH 20/29] pstore/blk: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  5:10 ` [PATCH 21/29] reiserfs: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13 10:43   ` Jan Kara
2021-10-13 10:43     ` Jan Kara
2021-10-13 10:43     ` Jan Kara
2021-10-13 10:43     ` Jan Kara
2021-10-13 10:43     ` [dm-devel] " Jan Kara
2021-10-13  5:10 ` [PATCH 22/29] squashfs: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13 19:37   ` Phillip Lougher
2021-10-13 19:37     ` Phillip Lougher
2021-10-13 19:37     ` [dm-devel] " Phillip Lougher
2021-10-13 19:37     ` Phillip Lougher
2021-10-13  5:10 ` [PATCH 23/29] block: use bdev_nr_sectors instead of open coding it in blkdev_fallocate Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13 10:44   ` Jan Kara
2021-10-13 10:44     ` Jan Kara
2021-10-13 10:44     ` Jan Kara
2021-10-13 10:44     ` Jan Kara
2021-10-13 10:44     ` [dm-devel] " Jan Kara
2021-10-13 22:34   ` Chaitanya Kulkarni
2021-10-13 22:34     ` Chaitanya Kulkarni
2021-10-13 22:34     ` [dm-devel] " Chaitanya Kulkarni
2021-10-13 22:34     ` Chaitanya Kulkarni
2021-10-13  5:10 ` [dm-devel] [PATCH 24/29] block: add a sb_bdev_nr_blocks helper Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  6:27   ` Kees Cook
2021-10-13  6:27     ` Kees Cook
2021-10-13  6:27     ` Kees Cook
2021-10-13  6:27     ` Kees Cook
2021-10-13  6:27     ` [dm-devel] " Kees Cook
2021-10-13  5:10 ` [dm-devel] [PATCH 25/29] ext4: use sb_bdev_nr_blocks Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  6:29   ` Kees Cook
2021-10-13  6:29     ` Kees Cook
2021-10-13  6:29     ` Kees Cook
2021-10-13  6:29     ` Kees Cook
2021-10-13  6:29     ` [dm-devel] " Kees Cook
2021-10-13  6:30   ` Kees Cook
2021-10-13  6:30     ` Kees Cook
2021-10-13  6:30     ` Kees Cook
2021-10-13  6:30     ` Kees Cook
2021-10-13  6:30     ` [dm-devel] " Kees Cook
2021-10-13 10:46   ` Jan Kara
2021-10-13 10:46     ` Jan Kara
2021-10-13 10:46     ` Jan Kara
2021-10-13 10:46     ` Jan Kara
2021-10-13 10:46     ` [dm-devel] " Jan Kara
2021-10-13 15:51   ` Theodore Ts'o
2021-10-13 15:51     ` Theodore Ts'o
2021-10-13 15:51     ` [dm-devel] " Theodore Ts'o
2021-10-13 15:51     ` Theodore Ts'o
2021-10-13  5:10 ` [dm-devel] [PATCH 26/29] jfs: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  6:31   ` Kees Cook
2021-10-13  6:31     ` Kees Cook
2021-10-13  6:31     ` Kees Cook
2021-10-13  6:31     ` Kees Cook
2021-10-13  6:31     ` [dm-devel] " Kees Cook
2021-10-13  5:10 ` [PATCH 27/29] ntfs: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  6:33   ` Kees Cook
2021-10-13  6:33     ` Kees Cook
2021-10-13  6:33     ` Kees Cook
2021-10-13  6:33     ` Kees Cook
2021-10-13  6:33     ` [dm-devel] " Kees Cook
2021-10-13  5:10 ` [PATCH 28/29] reiserfs: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  6:33   ` Kees Cook
2021-10-13  6:33     ` Kees Cook
2021-10-13  6:33     ` Kees Cook
2021-10-13  6:33     ` Kees Cook
2021-10-13  6:33     ` [dm-devel] " Kees Cook
2021-10-13 10:46   ` Jan Kara
2021-10-13 10:46     ` Jan Kara
2021-10-13 10:46     ` Jan Kara
2021-10-13 10:46     ` Jan Kara
2021-10-13 10:46     ` [dm-devel] " Jan Kara
2021-10-13  5:10 ` [PATCH 29/29] udf: " Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` Christoph Hellwig
2021-10-13  5:10   ` [dm-devel] " Christoph Hellwig
2021-10-13  6:34   ` Kees Cook
2021-10-13  6:34     ` Kees Cook
2021-10-13  6:34     ` Kees Cook
2021-10-13  6:34     ` Kees Cook
2021-10-13  6:34     ` [dm-devel] " Kees Cook
2021-10-13 10:47   ` Jan Kara
2021-10-13 10:47     ` Jan Kara
2021-10-13 10:47     ` Jan Kara
2021-10-13 10:47     ` Jan Kara
2021-10-13 10:47     ` [dm-devel] " Jan Kara
2021-10-13  6:39 ` don't use ->bd_inode to access the block device size Kees Cook
2021-10-13  6:39   ` Kees Cook
2021-10-13  6:39   ` Kees Cook
2021-10-13  6:39   ` Kees Cook
2021-10-13  6:39   ` [dm-devel] " Kees Cook
2021-10-13  7:14 ` Anand Jain
2021-10-13  7:14   ` Anand Jain
2021-10-13  7:14   ` Anand Jain
2021-10-13  7:14   ` Anand Jain
2021-10-13  7:14   ` [dm-devel] " Anand Jain
2021-10-14  6:28 ` Christoph Hellwig
2021-10-14  6:28   ` Christoph Hellwig
2021-10-14  6:28   ` [dm-devel] " Christoph Hellwig
2021-10-14  6:28   ` Christoph Hellwig
2021-10-14  9:32   ` Anton Altaparmakov
2021-10-14  9:32     ` Anton Altaparmakov
2021-10-14  9:32     ` [dm-devel] " Anton Altaparmakov
2021-10-14  9:32     ` Anton Altaparmakov
2021-10-14 13:13     ` Dave Kleikamp
2021-10-14 13:13       ` Dave Kleikamp
2021-10-14 13:13       ` [dm-devel] " Dave Kleikamp
2021-10-14 13:13       ` Dave Kleikamp
2021-10-14 15:14       ` Kees Cook
2021-10-14 15:14         ` Kees Cook
2021-10-14 15:14         ` [dm-devel] " Kees Cook
2021-10-14 15:14         ` Kees Cook
2021-10-14 15:35         ` Wol
2021-10-14 15:35           ` Wol
2021-10-14 15:35           ` [dm-devel] " Wol
2021-10-14 15:35           ` Wol

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211013051042.1065752-6-hch@lst.de \
    --to=hch@lst.de \
    --cc=almaz.alexandrovich@paragon-software.com \
    --cc=anton@tuxera.com \
    --cc=axboe@kernel.dk \
    --cc=colyli@suse.de \
    --cc=dm-devel@redhat.com \
    --cc=drbd-dev@lists.linbit.com \
    --cc=dsterba@suse.com \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=jack@suse.com \
    --cc=jfs-discussion@lists.sourceforge.net \
    --cc=josef@toxicpanda.com \
    --cc=keescook@chromium.org \
    --cc=konishi.ryusuke@gmail.com \
    --cc=linux-bcache@vger.kernel.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=linux-nilfs@vger.kernel.org \
    --cc=linux-ntfs-dev@lists.sourceforge.net \
    --cc=linux-nvme@lists.infradead.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ntfs3@lists.linux.dev \
    --cc=phillip@squashfs.org.uk \
    --cc=reiserfs-devel@vger.kernel.org \
    --cc=shaggy@kernel.org \
    --cc=snitzer@redhat.com \
    --cc=song@kernel.org \
    --cc=target-devel@vger.kernel.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.