On Wed, Sep 22, 2021 at 08:37:10PM +0800, Xie Yongji wrote: > The lo->lo_device can't be null if the lo->lo_backing_file is set. > So let's remove the unnecessary bdev checks and the entire bdev > variable in __loop_clr_fd() since the lo->lo_backing_file is already > checked before. > > Signed-off-by: Xie Yongji <xieyongji@xxxxxxxxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>