]> git.karo-electronics.de Git - linux-beck.git/commit
vfs: refactor clone/dedupe_file_range common functions
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 10 Dec 2016 00:18:30 +0000 (16:18 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 10 Dec 2016 00:18:30 +0000 (16:18 -0800)
commit876bec6f9bbfcb394916d17e35226b086c04dc45
tree8ee379448efd67d0e1c8f052fd5ffdaf6c03ab7e
parenta76b5b04375f974579c83433b06466758c0c552c
vfs: refactor clone/dedupe_file_range common functions

Hoist both the XFS reflink inode state and preparation code and the XFS
file blocks compare functions into the VFS so that ocfs2 can take
advantage of it for reflink and dedupe.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/read_write.c
fs/xfs/xfs_reflink.c
include/linux/fs.h