]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: move all reflink implementation code into its own file
authorFilipe Manana <fdmanana@suse.com>
Fri, 28 Feb 2020 13:04:17 +0000 (13:04 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:54 +0000 (17:01 +0100)
commit7efdabd72279883971286da0fa13c39accc0b277
tree0748972601f10beff620a9987a3dd265b645aa71
parente44f705047db017b26c55d3ba40f593e2e0c46a8
Btrfs: move all reflink implementation code into its own file

The reflink code is quite large and has been living in ioctl.c since ever.
It has grown over the years after many bug fixes and improvements, and
since I'm planning on making some further improvements on it, it's time
to get it better organized by moving into its own file, reflink.c
(similar to what xfs does for example).

This change only moves the code out of ioctl.c into the new file, it
doesn't do any other change.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/Makefile
fs/btrfs/ctree.h
fs/btrfs/file.c
fs/btrfs/ioctl.c
fs/btrfs/reflink.c [new file with mode: 0644]
fs/btrfs/reflink.h [new file with mode: 0644]