]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/nfs_xdr.h
NFS: Add correct bounds checking to NFSv2 locks
[linux-2.6-omap-h63xx.git] / include / linux / nfs_xdr.h
index 24263bb8e0bebdc62892cdb6b1a2527e0a0023cc..8d780de371f029d198d0a5a10385ed67283044a1 100644 (file)
@@ -832,6 +832,7 @@ struct nfs_rpc_ops {
        int     (*file_open)   (struct inode *, struct file *);
        int     (*file_release) (struct inode *, struct file *);
        int     (*lock)(struct file *, int, struct file_lock *);
+       int     (*lock_check_bounds)(const struct file_lock *);
        void    (*clear_acl_cache)(struct inode *);
 };