]> 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)
commit004f1caee4b395a1f6975960fa026478272bc8e1
tree0748972601f10beff620a9987a3dd265b645aa71
parentd1c955a673fc41738c956e6ff0d7ee9e29033b3b
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]