summaryrefslogtreecommitdiff
path: root/include/linux/livepatch_external.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-02-09 13:05:35 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2026-02-09 13:05:35 -0800
commit6124fa45e2d919eeb9fc2d6675f5824b44e344b0 (patch)
treee5aee7c2e224056de2c59ffeb9f1154a819aca95 /include/linux/livepatch_external.h
parentdd466ea0029961ee0ee6e8e468faa1506275c8a9 (diff)
parentf97f020075e83d05695d3f86469d50e21eccffab (diff)
Merge tag 'vfs-7.0-rc1.btrfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
Pull vfs updates for btrfs from Christian Brauner: "This contains some changes for btrfs that are taken to the vfs tree to stop duplicating VFS code for subvolume/snapshot dentry Btrfs has carried private copies of the VFS may_delete() and may_create() functions in fs/btrfs/ioctl.c for permission checks during subvolume creation and snapshot destruction. These copies have drifted out of sync with the VFS originals — btrfs_may_delete() is missing the uid/gid validity check and btrfs_may_create() is missing the audit_inode_child() call. Export the VFS functions as may_{create,delete}_dentry() and switch btrfs to use them, removing ~70 lines of duplicated code" * tag 'vfs-7.0-rc1.btrfs' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs: btrfs: use may_create_dentry() in btrfs_mksubvol() btrfs: use may_delete_dentry() in btrfs_ioctl_snap_destroy() fs: export may_create() as may_create_dentry() fs: export may_delete() as may_delete_dentry()
Diffstat (limited to 'include/linux/livepatch_external.h')
0 files changed, 0 insertions, 0 deletions