> This commit includes the following changes: > 1. Renamed get_size to lo_calculate_size. > 2. Merged the functionality of get_size and > get_loop_size into lo_calculate_size. > 3 Updated callers of the above functions > to use lo_calculate_size. > 4. Replaced i_size_read with vfs_getattr_nosec() > to obtain a more accurate file size for > network filesystems where cached metadata may be stale > Please split 1-3 to a seperate patch. removed header also Rajeev Mishra (2): loop: Rename and merge get_size/get_loop_size to lo_calculate_size loop: use vfs_getattr_nosec for accurate file size drivers/block/loop.c | 61 +++++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 29 deletions(-) -- 2.43.7