From: Jackie Liu <hidden> Date: 2021-10-21 07:23:29
From: Jackie Liu <redacted>
We switched to directly use dev_t to get block device, lookup changed the
meaning of use, now we fix this conflicting comment.
Fixes: 4e7b5671c6a8 ("block: remove i_bdev")
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Jackie Liu <redacted>
---
block/bdev.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
From: Jackie Liu <hidden> Date: 2021-10-21 07:23:28
From: Jackie Liu <redacted>
When the value of error is printed, it will always be 0. Here, we should be
print the correct error code when scsi_bsg_register_queue fails.
Fixes: ead09dd3aed5 ("scsi: bsg: Simplify device registration")
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jackie Liu <redacted>
---
drivers/scsi/scsi_sysfs.c | 1 +
1 file changed, 1 insertion(+)
On Thu, 21 Oct 2021 15:13:43 +0800, Jackie Liu wrote:
From: Jackie Liu <redacted>
We switched to directly use dev_t to get block device, lookup changed the
meaning of use, now we fix this conflicting comment.
Applied, thanks!
[1/2] fs: bdev: fix conflicting comment from lookup_bdev
commit: 057178cf518e699695a4b614a7a08c350b1fdcfd
[2/2] scsi: bsg: fix errno when scsi_bsg_register_queue fails
commit: e85c8915cf374af76efdc03a53a20fdec9d8eb5a
Best regards,
--
Jens Axboe
On Thu, 21 Oct 2021 15:13:43 +0800, Jackie Liu wrote:
quoted
From: Jackie Liu <redacted>
We switched to directly use dev_t to get block device, lookup changed the
meaning of use, now we fix this conflicting comment.