diff options
author | Darrick J. Wong <[email protected]> | 2016-10-10 16:47:32 +1100 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2016-10-10 16:47:32 +1100 |
commit | 63646fc58d666f149b85ccf470bfc1576a779d4c (patch) | |
tree | dc640908f7a21bf0f81f0b3e51a05d5f583e9ec1 /net/unix/sysctl_net_unix.c | |
parent | 1f08af52e7c981e9877796a2d90b0e0f08666945 (diff) |
xfs: check inode reflink flag before calling reflink functions
There are a couple of places where we don't check the inode's
reflink flag before calling into the reflink code. Fix those,
and add some asserts so we don't make this mistake again.
Signed-off-by: Darrick J. Wong <[email protected]>
Reported-by: Brian Foster <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions