+1
−1
+1
−1
+17
−5
+2
−2
+1
−1
Loading
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>