From 4fa21ed1511a9ad3c348ac9ed32dc22a803ed1b7 Mon Sep 17 00:00:00 2001 From: Tigran Mkrtchyan Date: Fri, 2 Oct 2026 10:37:48 +0200 Subject: [PATCH] nfs/flexfile: fix doc of nfs4_ff_layout_prepare_ds function fix mismatch between function doc description and actual code introduced in commit f06bedfa62d5 ("pNFS/flexfiles: don't attempt pnfs on fatal DS errors") Signed-off-by: Tigran Mkrtchyan Signed-off-by: Anna Schumaker --- fs/nfs/flexfilelayout/flexfilelayoutdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/flexfilelayout/flexfilelayoutdev.c b/fs/nfs/flexfilelayout/flexfilelayoutdev.c index 6165c41fcf62..ff4d271baff5 100644 --- a/fs/nfs/flexfilelayout/flexfilelayoutdev.c +++ b/fs/nfs/flexfilelayout/flexfilelayoutdev.c @@ -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,