]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/staging/lustre/lustre/llite/llite_nfs.c
staging: lustre: llite: set op_max_pages
[mirror_ubuntu-bionic-kernel.git] / drivers / staging / lustre / lustre / llite / llite_nfs.c
index 2b652407c239a510aec7199d24bcc86ee60629a7..1e156dcf77c217820625a7c090ae8b3488e01979 100644 (file)
@@ -276,6 +276,7 @@ static int ll_get_name(struct dentry *dentry, char *name,
                goto out;
        }
 
+       op_data->op_max_pages = ll_i2sbi(dir)->ll_md_brw_pages;
        inode_lock(dir);
        rc = ll_dir_read(dir, &pos, op_data, &lgd.ctx);
        inode_unlock(dir);