aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/include/asm/pgtable.h
diff options
context:
space:
mode:
authorAnsgar Lößer <ansgar.loesser@tu-darmstadt.de>2022-07-13 20:51:44 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2022-07-13 12:08:14 -0700
commit4a57a8400075bc5287c5c877702c68aeae2a033d (patch)
tree89ee061d5956064e266c4031cebe5f0b2370e14a /arch/riscv/include/asm/pgtable.h
parentMerge tag 'cgroup-for-5.19-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup (diff)
downloadlinux-dev-4a57a8400075bc5287c5c877702c68aeae2a033d.tar.xz
linux-dev-4a57a8400075bc5287c5c877702c68aeae2a033d.zip
vf/remap: return the amount of bytes actually deduplicated
When using the FIDEDUPRANGE ioctl, in case of success the requested size is returned. In some cases this might not be the actual amount of bytes deduplicated. This change modifies vfs_dedupe_file_range() to report the actual amount of bytes deduplicated, instead of the requested amount. Link: https://lore.kernel.org/linux-fsdevel/5548ef63-62f9-4f46-5793-03165ceccacc@tu-darmstadt.de/ Reported-by: Ansgar Lößer <ansgar.loesser@kom.tu-darmstadt.de> Reported-by: Max Schlecht <max.schlecht@informatik.hu-berlin.de> Reported-by: Björn Scheuermann <scheuermann@kom.tu-darmstadt.de> Cc: Dave Chinner <david@fromorbit.com> Cc: Darrick J Wong <djwong@kernel.org> Signed-off-by: Ansgar Lößer <ansgar.loesser@kom.tu-darmstadt.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/riscv/include/asm/pgtable.h')
0 files changed, 0 insertions, 0 deletions