]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/afs/file.c
NFSv4: nfs4_open_confirm must not set the open_owner as confirmed on error
[mirror_ubuntu-artful-kernel.git] / fs / afs / file.c
index aede7eb66dd4f970a74021b41487a5a0a70c0616..525f7c56e068d877e95dedea3a15dafc116fdb41 100644 (file)
@@ -34,6 +34,8 @@ const struct file_operations afs_file_operations = {
        .mmap           = generic_file_readonly_mmap,
        .splice_read    = generic_file_splice_read,
        .fsync          = afs_fsync,
+       .lock           = afs_lock,
+       .flock          = afs_flock,
 };
 
 const struct inode_operations afs_file_inode_operations = {