On 11/28/20 5:15 PM, Christoph Hellwig wrote:
bd_part is never NULL for a block device in use by a file system, so
remove the checks.

Signed-off-by: Christoph Hellwig <h...@lst.de>
Reviewed-by: Chao Yu <yuch...@huawei.com>
---
  fs/f2fs/checkpoint.c | 5 +----
  fs/f2fs/sysfs.c      | 9 ---------
  2 files changed, 1 insertion(+), 13 deletions(-)

Reviewed-by: Hannes Reinecke <h...@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
h...@suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer


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

Reply via email to