Merge tag 'trace-seq-buf-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...
[cascardo/linux.git] / include / linux / nfs_fs.h
index c72d1ad..6d627b9 100644 (file)
@@ -163,7 +163,7 @@ struct nfs_inode {
         */
        __be32                  cookieverf[2];
 
-       unsigned long           npages;
+       unsigned long           nrequests;
        struct nfs_mds_commit_info commit_info;
 
        /* Open contexts for shared mmap writes */
@@ -520,7 +520,7 @@ extern void nfs_commit_free(struct nfs_commit_data *data);
 static inline int
 nfs_have_writebacks(struct inode *inode)
 {
-       return NFS_I(inode)->npages != 0;
+       return NFS_I(inode)->nrequests != 0;
 }
 
 /*