[PATCH] loop setup calling bd_set_size too soon
From: Chris Mason <mason@suse.com> I think Andrew and I managed to mismerge the loop setup race fix. loop_set_fd is using get_capacity() to read the size of the disk and sending that to bd_set_size. But, it is doing this before calling set_capacity, so the size being used is wrong. This should clean things up.
Showing
Please register or sign in to comment