Also ensure that nfs_inode ncommit and npages are large enough to represent
all possible values for the number of pages.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
req->wb_index, tag);
nfs_list_add_request(req, dst);
res++;
req->wb_index, tag);
nfs_list_add_request(req, dst);
res++;
+ if (res == INT_MAX)
+ goto out;
spinlock_t req_lock;
struct radix_tree_root nfs_page_tree;
spinlock_t req_lock;
struct radix_tree_root nfs_page_tree;
npages;
/* Open contexts for shared mmap writes */
npages;
/* Open contexts for shared mmap writes */