nfs/flexfile: fix doc of nfs4_ff_layout_prepare_ds function

fix mismatch between function doc description and actual code
introduced in commit f06bedfa62 ("pNFS/flexfiles: don't attempt
pnfs on fatal DS errors")

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
This commit is contained in:
Tigran Mkrtchyan 2026-10-02 10:37:48 +02:00 committed by Anna Schumaker
parent 65a83a613c
commit 4fa21ed151

View File

@ -392,7 +392,7 @@ ff_layout_get_mirror_ds(struct pnfs_layout_hdr *lo,
* device error so that the server can tell which class of I/O the client
* was unable to send to the mirror.
*
* Returns a pointer to a connected DS object on success or NULL on failure.
* Returns a pointer to a connected DS object on success or an ERR_PTR value on failure.
*/
struct nfs4_pnfs_ds *
nfs4_ff_layout_prepare_ds(struct pnfs_layout_segment *lseg,