Whamcloud - gitweb
LU-3240 llite: Do not send parent dir fid in getattr by fid
[fs/lustre-release.git] / lustre / llite / dir.c
index 04cf9d2..9a4c11c 100644 (file)
@@ -360,7 +360,7 @@ struct page *ll_get_dir_page(struct inode *dir, __u64 hash,
                struct ptlrpc_request *request;
                struct md_op_data *op_data;
 
-               op_data = ll_prep_md_op_data(NULL, dir, NULL, NULL, 0, 0,
+               op_data = ll_prep_md_op_data(NULL, dir, dir, NULL, 0, 0,
                LUSTRE_OPC_ANY, NULL);
                if (IS_ERR(op_data))
                        return (void *)op_data;