]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - fs/nfs/flexfilelayout/flexfilelayout.h
NFS/flexfile: Simplify nfs4_ff_layout_select_ds_stateid()
[mirror_ubuntu-hirsute-kernel.git] / fs / nfs / flexfilelayout / flexfilelayout.h
index 99cfe2e8f32ab061c066332b9eb58e3a555146da..2f369966abf7179c625f5d046e52cbfa1fc80eb0 100644 (file)
@@ -204,10 +204,9 @@ unsigned int ff_layout_fetch_ds_ioerr(struct pnfs_layout_hdr *lo,
                unsigned int maxnum);
 struct nfs_fh *
 nfs4_ff_layout_select_ds_fh(struct nfs4_ff_layout_mirror *mirror);
-int
-nfs4_ff_layout_select_ds_stateid(struct pnfs_layout_segment *lseg,
-                               u32 mirror_idx,
-                               nfs4_stateid *stateid);
+void
+nfs4_ff_layout_select_ds_stateid(const struct nfs4_ff_layout_mirror *mirror,
+               nfs4_stateid *stateid);
 
 struct nfs4_pnfs_ds *
 nfs4_ff_layout_prepare_ds(struct pnfs_layout_segment *lseg,