The branch main has been updated by vangyzen:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=722fbfef0abb4de31fb91fd35f9b85fd534725c4

commit 722fbfef0abb4de31fb91fd35f9b85fd534725c4
Author:     Eric van Gyzen <[email protected]>
AuthorDate: 2026-02-25 16:26:06 +0000
Commit:     Eric van Gyzen <[email protected]>
CommitDate: 2026-02-25 16:44:38 +0000

    ffs snapshots: pass valid args to vn_start_write
    
    If the initial no-wait vn_start_write fails, we pass the old
    PCATCH flag to the following sleepable vn_start_write.
    Following a75d1ddd74, that flag should be V_PCATCH.
    
    Sponsored by:           Dell Inc.
    Differential Revision:  https://reviews.freebsd.org/D55512
---
 sys/ufs/ffs/ffs_snapshot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c
index 31823458ed8a..a024cbf84283 100644
--- a/sys/ufs/ffs/ffs_snapshot.c
+++ b/sys/ufs/ffs/ffs_snapshot.c
@@ -282,7 +282,7 @@ restart:
                NDFREE_PNBUF(&nd);
                vput(nd.ni_dvp);
                if ((error = vn_start_write(NULL, &wrtmp,
-                   V_XSLEEP | PCATCH)) != 0)
+                   V_XSLEEP | V_PCATCH)) != 0)
                        return (error);
                goto restart;
        }

Reply via email to