fishinabarrel / linux-kernel-module-rust

Framework for writing Linux kernel modules in safe Rust
GNU General Public License v2.0
1.33k stars 119 forks source link

file_operations: Restore copy_file_range #240

Closed geofft closed 4 years ago

geofft commented 4 years ago

This was a copy/paste mistake, copy_file_range (unlike clone_file_range / dedupe_file_range) still exists in current kernels and so it needs only a lower bound.

Fixes: 240393d3 ("Add backwards compatbility down to kernel 4.4 (fixes #199)")