NFSv4.1/pnfs: Add sparse lock annotations for pnfs_find_alloc_layout
[deliverable/linux.git] / fs / nfs / nfs4proc.c
index de97567795a52c523abfa5936829303a388560e8..27fe63b502d5348986b2b7f1a973076005deb8a1 100644 (file)
@@ -8036,7 +8036,10 @@ nfs4_proc_layoutget(struct nfs4_layoutget *lgp, long *timeout, gfp_t gfp_flags)
                .flags = RPC_TASK_ASYNC,
        };
        struct pnfs_layout_segment *lseg = NULL;
-       struct nfs4_exception exception = { .timeout = *timeout };
+       struct nfs4_exception exception = {
+               .inode = inode,
+               .timeout = *timeout,
+       };
        int status = 0;
 
        dprintk("--> %s\n", __func__);
This page took 0.023469 seconds and 5 git commands to generate.