aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
AgeCommit message (Expand)AuthorFilesLines
2026-06-15Merge tag 'pull-dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-4/+2
2026-06-15Merge tag 'vfs-7.2-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-20/+5
2026-06-15Merge tag 'vfs-7.2-rc1.openat2' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-14/+34
2026-06-15Merge tag 'vfs-7.2-rc1.directory.delegations' of git://git.kernel.org/pub/scm...Linus Torvalds1-14/+17
2026-06-05VFS: use wait_var_event for waiting in d_alloc_parallel()NeilBrown1-4/+2
2026-05-29vfs: replace ints with enum last_type for LAST_XXXJori Koolstra1-12/+16
2026-05-29vfs: make LAST_XXX private to fs/namei.cJori Koolstra1-4/+16
2026-05-28VFS: fix possible failure to unlock in nfsd4_create_file()NeilBrown1-0/+10
2026-05-21openat2: new OPENAT2_REGULAR flag supportDorjoy Chowdhury1-0/+4
2026-05-21namei: use QSTR() instead of QSTR_INIT() in path_ptsThorsten Blum1-2/+1
2026-05-21fs: fold __start_removing_path into start_removing_pathChristoph Hellwig1-9/+4
2026-05-21fs: remove start_removing_user_path_atChristoph Hellwig1-9/+0
2026-05-15filelock: add support for ignoring deleg breaks for dir change eventsJeff Layton1-14/+17
2026-04-13Merge tag 'vfs-7.1-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2026-04-13Merge tag 'vfs-7.1-rc1.directory' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-24/+46
2026-03-31fs: write a better comment in step_into() concerning .mnt assignmentMateusz Guzik1-1/+1
2026-03-19vfs: fix docstring of hash_name()Jori Koolstra1-2/+8
2026-03-09VFS: unexport lock_rename(), lock_rename_child(), unlock_rename()NeilBrown1-6/+3
2026-03-06VFS: make lookup_one_qstr_excl() static.NeilBrown1-3/+2
2026-03-06VFS: move the start_dirop() kerndoc comment to before start_dirop()NeilBrown1-14/+13
2026-03-06VFS: note error returns in documentation for various lookup functionsNeilBrown1-1/+28
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-2/+2
2026-02-16Merge tag 'vfs-7.0-rc1.misc.2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2026-02-09Merge tag 'pull-filename' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-199/+221
2026-02-09Merge tag 'vfs-7.0-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+3
2026-02-09Merge tag 'vfs-7.0-rc1.atomic_open' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-7/+73
2026-02-09Merge tag 'vfs-7.0-rc1.btrfs' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-17/+19
2026-01-29fs: add helpers name_is_dot{,dot,_dotdot}Amir Goldstein1-1/+1
2026-01-20fs/namei: fix kernel-doc markup for dentry_createJay Winston1-2/+2
2026-01-16namei.c: switch user pathname imports to CLASS(filename{,_flags})Al Viro1-15/+6
2026-01-16namei.c: convert getname_kernel() callers to CLASS(filename_kernel)Al Viro1-26/+10
2026-01-16non-consuming variants of do_{unlinkat,rmdir}()Al Viro1-12/+11
2026-01-16non-consuming variant of do_mknodat()Al Viro1-9/+8
2026-01-16non-consuming variant of do_mkdirat()Al Viro1-7/+6
2026-01-16non-consuming variant of do_symlinkat()Al Viro1-12/+11
2026-01-16non-consuming variant of do_linkat()Al Viro1-15/+12
2026-01-16non-consuming variant of do_renameat2()Al Viro1-15/+15
2026-01-14fs: export may_create() as may_create_dentry()Filipe Manana1-9/+10
2026-01-14fs: export may_delete() as may_delete_dentry()Filipe Manana1-8/+9
2026-01-13rename do_filp_open() to do_file_open()Al Viro1-1/+1
2026-01-13do_filp_open(): DTRT when getting ERR_PTR() as pathnameAl Viro1-0/+2
2026-01-13struct filename ->refcnt doesn't need to be atomicAl Viro1-6/+6
2026-01-13allow incomplete imports of filenamesAl Viro1-5/+61
2026-01-13switch __getname_maybe_null() to CLASS(filename_flags)Al Viro1-7/+5
2026-01-13fs: hide names_cache behind runtime const machineryMateusz Guzik1-6/+10
2026-01-13struct filename: saner handling of long namesAl Viro1-54/+33
2026-01-13struct filename: use names_cachep only for getname() and friendsAl Viro1-9/+28
2026-01-13getname_flags() massage, part 2Al Viro1-27/+29
2026-01-13getname_flags() massage, part 1Al Viro1-17/+16
2026-01-13get rid of audit_reusename()Al Viro1-8/+3
2026-01-13init_mknod(): turn into a trivial wrapper for do_mknodat()Al Viro1-1/+1
2026-01-06VFS: fix __start_dirop() kernel-doc warningsBagas Sanjaya1-1/+2
2026-01-06fs/namei: Remove redundant DCACHE_MANAGED_DENTRY check in __follow_mount_rcuBreno Leitao1-3/+0
2026-01-06fs: only assert on LOOKUP_RCU when built with CONFIG_DEBUG_VFSMateusz Guzik1-2/+3
2025-12-24VFS: fix __start_dirop() kernel-doc warningsBagas Sanjaya1-1/+2
2025-12-24fs: make sure to fail try_to_unlazy() and try_to_unlazy() for LOOKUP_CACHEDMateusz Guzik1-5/+13
2025-12-15VFS/knfsd: Teach dentry_create() to use atomic_open()Benjamin Coddington1-13/+42
2025-12-15VFS: Prepare atomic_open() for dentry_create()Benjamin Coddington1-7/+6
2025-12-15VFS: move dentry_create() from fs/open.c to fs/namei.cBenjamin Coddington1-0/+38
2025-12-01Merge tag 'vfs-6.19-rc1.directory.locking' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-108/+639
2025-12-01Merge tag 'vfs-6.19-rc1.directory.delegations' of git://git.kernel.org/pub/sc...Linus Torvalds1-42/+120
2025-12-01Merge tag 'vfs-6.19-rc1.inode' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+4
2025-11-26fs: inline step_into() and walk_component()Mateusz Guzik1-3/+28
2025-11-26fs: tidy up step_into() & friends before inliningMateusz Guzik1-13/+18
2025-11-25fs: mark lookup_slow() as noinlineMateusz Guzik1-1/+1
2025-11-25fs: add predicts based on nd->depthMateusz Guzik1-6/+7
2025-11-14VFS: change vfs_mkdir() to unlock on failure.NeilBrown1-2/+2
2025-11-14ecryptfs: use new start_creating/start_removing APIsNeilBrown1-0/+33
2025-11-14Add start_renaming_two_dentries()NeilBrown1-0/+65
2025-11-14VFS/ovl/smb: introduce start_renaming_dentry()NeilBrown1-6/+102
2025-11-14VFS/nfsd/ovl: introduce start_renaming() and end_renaming()NeilBrown1-53/+142
2025-11-14VFS: add start_creating_killable() and start_removing_killable()NeilBrown1-3/+77
2025-11-14VFS: introduce start_removing_dentry()NeilBrown1-0/+33
2025-11-14VFS: introduce start_creating_noperm() and start_removing_noperm()NeilBrown1-0/+48
2025-11-14VFS/nfsd/cachefiles/ovl: introduce start_removing() and end_removing()NeilBrown1-0/+27
2025-11-14VFS/nfsd/cachefiles/ovl: add start_creating() and end_creating()NeilBrown1-7/+28
2025-11-14VFS: tidy up do_unlinkat()NeilBrown1-29/+26
2025-11-14VFS: introduce start_dirop() and end_dirop()NeilBrown1-25/+73
2025-11-13fs: touch up predicts in path lookupMateusz Guzik1-9/+9
2025-11-12fs: retire now stale MAY_WRITE predicts in inode_permission()Mateusz Guzik1-2/+2
2025-11-12fs: speed up path lookup with cheaper handling of MAY_EXECMateusz Guzik1-2/+41
2025-11-12vfs: make vfs_symlink break delegations on parent dirJeff Layton1-2/+14
2025-11-12vfs: make vfs_mknod break delegations on parent directoryJeff Layton1-8/+15
2025-11-12vfs: make vfs_create break delegations on parent directoryJeff Layton1-2/+13
2025-11-12vfs: clean up argument list for vfs_create()Jeff Layton1-7/+4
2025-11-12vfs: break parent dir delegations in open(..., O_CREAT) codepathJeff Layton1-4/+18
2025-11-12vfs: allow rmdir to wait for delegation break on parentJeff Layton1-5/+17
2025-11-12vfs: allow mkdir to wait for delegation break on parentJeff Layton1-6/+18
2025-11-12vfs: add try_break_deleg calls for parents to vfs_{link,rename,unlink}Jeff Layton1-1/+14
2025-11-12filelock: add struct delegated_inodeJeff Layton1-9/+9
2025-10-31fs: touch up predicts in putname()Mateusz Guzik1-2/+2
2025-10-20Coccinelle-based conversion to use ->i_state accessorsMateusz Guzik1-4/+4
2025-10-03Merge tag 'pull-f_path' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-6/+6
2025-09-29Merge tag 'vfs-6.18-rc1.async' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-43/+121
2025-09-27Have cc(1) catch attempts to modify ->f_pathAl Viro1-4/+4
2025-09-23VFS: rename kern_path_locked() and related functions.NeilBrown1-22/+37
2025-09-23VFS/audit: introduce kern_path_parent() for auditNeilBrown1-6/+17
2025-09-23VFS: unify old_mnt_idmap and new_mnt_idmap in renamedataNeilBrown1-9/+8
2025-09-23VFS: discard err2 in filename_create()NeilBrown1-6/+4
2025-09-23VFS/ovl: add lookup_one_positive_killable()NeilBrown1-0/+55
2025-09-15done_path_create(): constify path argumentAl Viro1-1/+1
2025-09-15filename_lookup(): constify root argumentAl Viro1-1/+1
2025-09-02openat2: don't trigger automounts with RESOLVE_NO_XDEVAskar Safin1-0/+8
2025-09-02namei: move cross-device check to __traverse_mountsAskar Safin1-6/+5
2025-09-02namei: remove LOOKUP_NO_XDEV check from handle_mountsAskar Safin1-4/+2
2025-09-02namei: move cross-device check to traverse_mountsAskar Safin1-4/+7
2025-08-11fs: fix "writen"->"written"Xichao Zhao1-1/+1
2025-07-28Merge tag 'vfs-6.17-rc1.pidfs' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+4
2025-07-28Merge tag 'vfs-6.17-rc1.async.dir' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-23/+14
2025-07-28Merge tag 'vfs-6.17-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-14/+15
2025-07-08fold fs_struct->{lock,seq} into a seqlockAl Viro1-4/+4
2025-07-04Merge tag 'vfs-6.16-rc5.fixes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2025-07-02anon_inode: rework assertionsChristian Brauner1-1/+1
2025-06-23docs/vfs: update references to i_mutex to i_rwsemJunxuan Liao1-11/+11
2025-06-16VFS: change old_dir and new_dir in struct renamedata to dentrysNeilBrown1-3/+4
2025-06-11VFS: merge lookup_one_qstr_excl_raw() back into lookup_one_qstr_excl()NeilBrown1-23/+14
2025-06-11VFS: change try_lookup_noperm() to skip revalidationNeilBrown1-4/+13
2025-05-26Merge tag 'vfs-6.16-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-26/+53
2025-05-26Merge tag 'vfs-6.16-rc1.async.dir' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-76/+80
2025-05-15fs: Pass a folio to page_put_link()Matthew Wilcox (Oracle)1-3/+27
2025-05-15fs: Convert __page_get_link() to use a folioMatthew Wilcox (Oracle)1-10/+10
2025-04-21fs: touch up predicts in inode_permission()Mateusz Guzik1-5/+5
2025-04-21fs: improve codegen in link_path_walk()Mateusz Guzik1-4/+7
2025-04-16fs: ensure that *path_locked*() helpers leave passed path pristineChristian Brauner1-16/+18
2025-04-15fs: add kern_path_locked_negative()Christian Brauner1-16/+49
2025-04-11fs: Fix filename init after recent refactoringSong Liu1-4/+4
2025-04-08VFS: change lookup_one_common and lookup_noperm_common to take a qstrNeilBrown1-27/+21
2025-04-08VFS: rename lookup_one_len family to lookup_noperm and remove permission checkNeilBrown1-35/+52
2025-04-08fs: unconditionally use atime_needs_update() in pick_link()Mateusz Guzik1-5/+5
2025-04-07VFS: improve interface for lookup_one functionsNeilBrown1-29/+22
2025-03-24Merge tag 'vfs-6.15-rc1.file' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2025-03-24Merge tag 'vfs-6.15-rc1.async.dir' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-49/+56
2025-03-24Merge tag 'vfs-6.15-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-20/+22
2025-03-18VFS/autofs: try_lookup_one_len() does not need any locksNeilBrown1-3/+2
2025-03-18fs: dedup handling of struct filename init and refcounts bumpsMateusz Guzik1-8/+9
2025-03-12fs: dodge an atomic in putname if ref == 1Mateusz Guzik1-4/+9
2025-03-05fs: use fput_close() in path_openat()Mateusz Guzik1-1/+1
2025-03-05VFS: Change vfs_mkdir() to return the dentry.NeilBrown1-16/+29
2025-02-27Change inode_operations.mkdir to return struct dentry *NeilBrown1-3/+12
2025-02-21vfs: inline getname()Mateusz Guzik1-5/+0
2025-02-21vfs: catch invalid modes in may_open()Mateusz Guzik1-0/+2
2025-02-20fuse: don't truncate cached, mutated symlinkMiklos Szeredi1-5/+19
2025-02-19VFS: add common error checks to lookup_one_qstr_excl()NeilBrown1-40/+21
2025-02-19VFS: change kern_path_locked() and user_path_locked_at() to never return nega...NeilBrown1-0/+4
2025-01-30Merge tag 'pull-revalidate' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-8/+10
2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados1-1/+1
2025-01-27Pass parent directory inode and expected name to ->d_revalidate()Al Viro1-8/+10
2024-12-22vfs: support caching symlink lengths in inodesMateusz Guzik1-15/+19
2024-11-18Merge tag 'pull-xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-8/+26
2024-11-18Merge tag 'pull-fd' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-9/+4
2024-11-03fdget_raw() users: switch to CLASS(fd_raw)Al Viro1-9/+4
2024-11-01fs: optimize acl_permission_check()Linus Torvalds1-0/+41
2024-10-19getname_maybe_null() - the third variant of pathname copy-inAl Viro1-7/+23
2024-10-19teach filename_lookup() to treat NULL filename as ""Al Viro1-1/+3
2024-09-23Merge tag 'pull-stable-struct_fd' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-5/+5
2024-09-16Merge tag 'vfs-6.12.folio' of gitolite.kernel.org:pub/scm/linux/kernel/git/vf...Linus Torvalds1-5/+5
2024-08-30fs: rearrange general fastpath check now that O_CREAT uses itChristian Brauner1-13/+4
2024-08-30fs: remove audit dummy context checkChristian Brauner1-11/+1
2024-08-30fs: pull up trailing slashes check for O_CREATChristian Brauner1-8/+4
2024-08-30fs: move audit parent inodeChristian Brauner1-1/+3
2024-08-30fs: try an opportunistic lookup for O_CREAT opens tooJeff Layton1-10/+64
2024-08-30fs: add a kerneldoc header over lookup_fastJeff Layton1-0/+14
2024-08-12introduce fd_file(), convert all accessors to it.Al Viro1-5/+5
2024-08-07fs: Convert aops->write_begin to take a folioMatthew Wilcox (Oracle)1-5/+5
2024-08-07fs: Convert aops->write_end to take a folioMatthew Wilcox (Oracle)1-1/+1
2024-07-24vfs: correct the comments of vfs_*() helpersCongjie Zhou1-13/+13
2024-07-15Merge tag 'vfs-6.11.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-36/+62
2024-07-15Merge branch 'link_path_walk'Linus Torvalds1-47/+94
2024-07-07vfs: link_path_walk: move more of the name hashing into hash_name()Linus Torvalds1-19/+32
2024-07-07vfs: link_path_walk: improve may_lookup() code generationLinus Torvalds1-10/+19
2024-06-27fs: reflow may_create_in_sticky()Christian Brauner1-16/+35
2024-06-25vfs: reorder checks in may_create_in_stickyMateusz Guzik1-3/+3
2024-06-21vfs: shave a branch in getname_flagsMateusz Guzik1-11/+20
2024-06-19vfs: link_path_walk: do '.' and '..' detection while hashingLinus Torvalds1-22/+46
2024-06-19vfs: link_path_walk: clarify and improve name hashing interfaceLinus Torvalds1-8/+12
2024-06-19vfs: link_path_walk: simplify name hash flowLinus Torvalds1-16/+13
2024-06-18vfs: generate FS_CREATE before FS_OPEN when ->atomic_open used.NeilBrown1-2/+8
2024-06-05vfs: retire user_path_at_empty and drop empty arg from getname_flagsMateusz Guzik1-9/+7
2024-05-22Merge tag 'ovl-update-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+3
2024-05-13Merge tag 'vfs-6.10.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-6/+13
2024-05-02ovl: implement tmpfileMiklos Szeredi1-3/+3
2024-04-13vfs: relax linkat() AT_EMPTY_PATH - aka flink() - requirementsLinus Torvalds1-6/+13
2024-04-03security: Place security_path_post_mknod() where the original IMA call wasRoberto Sassu1-5/+2
2024-03-12Merge tag 'lsm-pr-20240312' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+7
2024-03-12Merge tag 'hardening-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2024-03-11Merge tag 'vfs-6.9.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-4/+2
2024-02-25rcu pathwalk: prevent bogus hard errors from may_lookup()Al Viro1-1/+5
2024-02-15ima: Move to LSM infrastructureRoberto Sassu1-6/+0
2024-02-15security: Introduce inode_post_create_tmpfile hookRoberto Sassu1-0/+1
2024-02-15security: Introduce path_post_mknod hookRoberto Sassu1-0/+5
2024-02-15security: Introduce file_post_open hookRoberto Sassu1-0/+2
2024-02-01kernel.h: removed REPEAT_BYTE from kernel.hTanzir Hasan1-1/+1
2024-01-23Merge tag 'exportfs-6.9' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Christian Brauner1-4/+2
2024-01-23fs: Create a generic is_dot_dotdot() utilityChuck Lever1-4/+2
2024-01-12Merge tag 'pull-bcachefs-fix' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+13
2024-01-11Merge tag 'pull-rename' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-26/+61
2024-01-10Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+0
2023-12-28fs: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-1/+0
2023-12-21Merge branch 'vfs.file'Christian Brauner1-4/+1
2023-12-21fs: fix doc comment typo fs tree wideAlexander Mikhalitsyn1-11/+11