[PATCH v3 0/9] fixes for vfs_lookup_open and ->atomic_open and related code
From: NeilBrown
Date: Wed Dec 02 2026 - 22:51:26 EST
This is a new version of
Subject: [PATCH v2 01/14] fixes for vfs_lookup_open, and integration with nfsd
https://lore.kernel.org/all/20260919022441.3305170-1-neilb@xxxxxxxxxxx
and is just the VFS bits - though there is a small change in overlayfs (in first patch)
1/9 is new because I tried to use d_is_negative() in a later patch and
sashiko.dev warned me that it isn't always safe.
3/9 and 4/9 are new and follow a conversation with Trond about simplifying
nfs_atomic_open().
Other patches have assorted changes to address issues found by sashiko.dev.
I hope that with this in place I can work with the nfsd team to get
vfs_lookup_open() used by nfsd.
Thanks,
NeilBrown
[PATCH v3 1/9] vfs: introduce d_is_negative_acquire()
[PATCH v3 2/9] vfs: revise and expand documentation for atomic_open.
[PATCH v3 3/9] vfs: only set op.mode when O_CREAT in
[PATCH v3 4/9] vfs: don't call ->atomic_open with hashed negative in
[PATCH v3 5/9] vfs: add some allowed open flags to vfs_lookup_open()
[PATCH v3 6/9] vfs: O_NONBLOCK|O_CREAT open shouldn't wait for
[PATCH v3 7/9] vfs: don't return -ENODEV from vfs_lookup_open()
[PATCH v3 8/9] vfs: change vfs_lookup_open() to use do_open(), not
[PATCH v3 9/9] vfs: add MAY_SERVE_FILE and FMODE_SERVE_FILE