linux26-generic-sendfile-20041217

FIXES 16842

enable loop mounting to work.
This commit is contained in:
Christof Hanke 2004-12-17 14:41:36 +00:00 committed by Derrick Brashear
parent ae3cbf270f
commit 937ba22002

View File

@ -756,6 +756,9 @@ struct file_operations afs_file_fops = {
.mmap = afs_linux_mmap, .mmap = afs_linux_mmap,
.open = afs_linux_open, .open = afs_linux_open,
.flush = afs_linux_flush, .flush = afs_linux_flush,
#ifdef AFS_LINUX26_ENV
.sendfile = generic_file_sendfile,
#endif
.release = afs_linux_release, .release = afs_linux_release,
.fsync = afs_linux_fsync, .fsync = afs_linux_fsync,
.lock = afs_linux_lock, .lock = afs_linux_lock,