summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2021-04-13 17:56:18 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2021-04-13 10:43:15 -0700
commit453e2ff8e4ff2747acee1799e7ef959970c5cc78 (patch)
treebfc3b29aac76c61f26bb01c592abe0908f9b6e09 /virt
parent38740707c5bc1253069eb932bc6d244f80ec21f0 (diff)
downloadlinux-stable-453e2ff8e4ff2747acee1799e7ef959970c5cc78.tar.gz
linux-stable-453e2ff8e4ff2747acee1799e7ef959970c5cc78.tar.bz2
linux-stable-453e2ff8e4ff2747acee1799e7ef959970c5cc78.zip
f2fs: avoid duplicated codes for cleanup
f2fs_segment_has_free_slot() was copied and modified from __next_free_blkoff(), they are almost the same, clean up to reuse common code as much as possible. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions