summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-11-11 09:12:48 -0500
committerChristian Brauner <brauner@kernel.org>2025-11-12 09:38:35 +0100
commit4fa76319cd0cc97ca54ff71c94814dc5b1983ad2 (patch)
tree453b3053c6553b91af806e51429b4a96dcd6329c /net/unix/af_unix.c
parente12d203b8c880061c0bf0339cad51e5851a33442 (diff)
vfs: allow rmdir to wait for delegation break on parent
In order to add directory delegation support, we need to break delegations on the parent whenever there is going to be a change in the directory. Add a delegated_inode struct to vfs_rmdir() and populate that pointer with the parent inode if it's non-NULL. Most existing in-kernel callers pass in a NULL pointer. Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Jeff Layton <jlayton@kernel.org> Link: https://patch.msgid.link/20251111-dir-deleg-ro-v6-7-52f3feebb2f2@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions