aboutsummaryrefslogtreecommitdiffstats
path: root/fs/inode.c
AgeCommit message (Expand)AuthorFilesLines
8 daysMerge tag 'mm-stable-2026-06-23-08-55' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+0
10 daysfs: remove nr_thps from struct address_spaceZi Yan1-3/+0
2026-06-15Merge tag 'vfs-7.2-rc1.inode' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-19/+81
2026-05-11fs: retire stale lock ordering annotations from inode hashMateusz Guzik1-4/+0
2026-05-11fs: allow lockless ->i_count bumps as long as it does not transition 0->1Mateusz Guzik1-0/+64
2026-05-11fs: relocate and tidy up ihold()Mateusz Guzik1-9/+11
2026-05-11fs: add icount_read_once() and stop open-coding ->i_count loadsMateusz Guzik1-6/+6
2026-05-11fs: fix forced iversion increment on lazytime timestamp updatesPankaj Raghav1-1/+7
2026-04-21Merge tag 'pull-dcache-busy-wait' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2026-04-13Merge tag 'vfs-7.1-rc1.bh.metadata' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-15/+9
2026-04-02struct dentry: make ->d_u anonymousAl Viro1-1/+1
2026-03-26fs: Drop i_private_list from address_spaceJan Kara1-2/+0
2026-03-26fs: Drop mapping_metadata_bhs from address spaceJan Kara1-3/+0
2026-03-26fs: Make bhs point to mapping_metadata_bhsJan Kara1-0/+1
2026-03-26fs: Move metadata bhs tracking to a separate structJan Kara1-0/+2
2026-03-26fs: Remove i_private_dataJan Kara1-1/+0
2026-03-26fs: Ignore inode metadata buffers in inode_lru_isolate()Jan Kara1-12/+9
2026-03-06treewide: change inode->i_ino from unsigned long to u64Jeff Layton1-7/+6
2026-03-06vfs: widen inode hash/lookup functions to u64Jeff Layton1-18/+18
2026-02-12Merge tag 'fsverity-for-linus' of git://git.kernel.org/pub/scm/fs/fsverity/linuxLinus Torvalds1-0/+9
2026-02-09Merge tag 'vfs-7.0-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-34/+59
2026-02-09Merge tag 'vfs-7.0-rc1.nonblocking_timestamps' of git://git.kernel.org/pub/sc...Linus Torvalds1-92/+110
2026-01-29fs,fsverity: clear out fsverity_info from common codeChristoph Hellwig1-0/+9
2026-01-14fs: make insert_inode_locked() wait for inode destructionMateusz Guzik1-17/+24
2026-01-14fs: improve dump_inode() to safely access inode fieldsYuto Ohnuki1-13/+34
2026-01-12fs: refactor file_update_time_flagsChristoph Hellwig1-16/+15
2026-01-12fs: add support for non-blocking timestamp updatesChristoph Hellwig1-11/+34
2026-01-12fs: factor out a sync_lazytime helperChristoph Hellwig1-4/+1
2026-01-12fs: refactor ->update_time handlingChristoph Hellwig1-64/+70
2026-01-12fs: allow error returns from generic_update_timeChristoph Hellwig1-2/+2
2026-01-12fs: remove inode_update_timeChristoph Hellwig1-15/+8
2026-01-06fs: Describe @isnew parameter in ilookup5_nowait()Bagas Sanjaya1-0/+3
2025-12-24fs: Replace simple_strtoul with kstrtoul in set_ihash_entriesThorsten Blum1-4/+1
2025-12-24fs: Describe @isnew parameter in ilookup5_nowait()Bagas Sanjaya1-0/+3
2025-12-03fs: assert on I_FREEING not being set in iput() and iput_not_last()Mateusz Guzik1-1/+2
2025-12-01Merge tag 'vfs-6.19-rc1.inode' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-105/+142
2025-12-01Merge tag 'vfs-6.19-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-39/+19
2025-11-26fs: lift the FMODE_NOCMTIME check into file_update_time_flagsChristoph Hellwig1-2/+2
2025-11-26fs: refactor file timestamp update logicChristoph Hellwig1-37/+17
2025-11-25fs: push list presence check into inode_io_list_del()Mateusz Guzik1-3/+1
2025-11-25fs: cosmetic fixes to lru handlingMateusz Guzik1-24/+26
2025-11-25fs: rework I_NEW handling to operate without fencesMateusz Guzik1-37/+61
2025-11-12fs: add iput_not_last()Mateusz Guzik1-0/+12
2025-10-20Manual conversion to use ->i_state accessors of all places not covered by coc...Mateusz Guzik1-10/+8
2025-10-20Coccinelle-based conversion to use ->i_state accessorsMateusz Guzik1-46/+46
2025-10-20fs: add missing fences to I_NEW handlingMateusz Guzik1-0/+8
2025-10-20fs: assert on ->i_count in iput_final()Mateusz Guzik1-0/+7
2025-09-29Merge tag 'vfs-6.18-rc1.inode' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-20/+70
2025-09-19fs: add might_sleep() annotation to iput() and moreMax Kellermann1-0/+18
2025-09-15fs: rename generic_delete_inode() and generic_drop_inode()Mateusz Guzik1-3/+3
2025-09-15fs: expand dump_inode()Mateusz Guzik1-1/+9
2025-09-15fs: use the switch statement in init_special_inode()Mateusz Guzik1-6/+13
2025-09-01inode: fix whitespace issuesChristian Brauner1-5/+5
2025-09-01fs: add an icount_read helperJosef Bacik1-4/+4
2025-09-01fs: rework iput logicJosef Bacik1-11/+35
2025-08-11vfs: show filesystem name at dump_inode()Tetsuo Handa1-1/+1
2025-08-11fs: mark file_remove_privs_flags staticChristoph Hellwig1-2/+1
2025-07-10vfs: Remove unnecessary list_for_each_entry_safe() from evict_inodes()Jan Kara1-2/+2
2025-06-23docs/vfs: update references to i_mutex to i_rwsemJunxuan Liao1-5/+4
2025-03-20fs: call inode_sb_list_add() outside of inode hash lockMateusz Guzik1-5/+5
2025-03-19fs: load the ->i_sb pointer once in inode_sb_list_{add,del}Mateusz Guzik1-5/+9
2025-03-18fs: drop the lock trip around I_NEW wake up in evict()Mateusz Guzik1-13/+6
2025-03-08vfs: Remove invalidate_inodes()Jan Kara1-40/+0
2025-02-21vfs: inline new_inode_pseudo() and de-staticize alloc_inode()Mateusz Guzik1-17/+12
2025-02-21vfs: add initial support for CONFIG_DEBUG_VFSMateusz Guzik1-0/+15
2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados1-1/+1
2024-11-23Merge tag 'mm-stable-2024-11-18-19-27' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-3/+2
2024-11-18Merge tag 'vfs-6.13.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-15/+14
2024-11-18Merge tag 'vfs-6.13.mgtime' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-22/+262
2024-11-14fs: reduce pointer chasing in is_mgtime() testJeff Layton1-0/+2
2024-11-14vfs: make evict() use smp_mb__after_spinlock instead of smp_mbMateusz Guzik1-1/+1
2024-11-11mm/list_lru: simplify the list_lru walk callback functionKairui Song1-2/+2
2024-11-11mm/list_lru: split the lock to per-cgroup scopeKairui Song1-1/+0
2024-10-22fs/inode: Fix a typoAndrew Kreimer1-1/+1
2024-10-22vfs: inode insertion kdoc correctionsAndreas Gruenbacher1-13/+12
2024-10-10Merge patch series "timekeeping/fs: multigrain timestamp redux"Christian Brauner1-22/+260
2024-10-10fs: add percpu counters for significant multigrain timestamp eventsJeff Layton1-0/+69
2024-10-10fs: tracepoints around multigrain timestamp eventsJeff Layton1-1/+8
2024-10-10fs: handle delegated timestamps in setattr_copy_mgtimeJeff Layton1-0/+73
2024-10-09bcachefs: do not use PF_MEMALLOC_NORECLAIMMichal Hocko1-4/+6
2024-10-07fs: add infrastructure for multigrain timestampsJeff Layton1-25/+114
2024-09-23Merge tag 'bcachefs-2024-09-21' of git://evilpiepirate.org/bcachefsLinus Torvalds1-8/+0
2024-09-09inode: make __iget() a static inlineKent Overstreet1-8/+0
2024-08-30fs/inode: Prevent dump_mapping() accessing invalid dentry.d_name.nameLi Zhijian1-3/+7
2024-08-30inode: port __I_LRU_ISOLATING to var eventChristian Brauner1-8/+19
2024-08-30inode: port __I_NEW to var eventChristian Brauner1-8/+24
2024-08-30fs: add i_state helpersChristian Brauner1-0/+11
2024-08-30vfs: fix race between evice_inodes() and find_inode()&iput()Julian Sun1-0/+4
2024-08-30vfs: drop one lock trip in evict()Mateusz Guzik1-2/+3
2024-08-30inode: remove __I_DIO_WAKEUPChristian Brauner1-12/+11
2024-08-30vfs: use RCU in ilookupMateusz Guzik1-3/+1
2024-08-13vfs: Don't evict inode under the inode lru traversing contextZhihao Cheng1-2/+37
2024-07-24sysctl: treewide: constify the ctl_table argument of proc_handlersJoel Granados1-1/+1
2024-07-24inode: clarify what's lockedChristian Brauner1-11/+11
2024-07-24vfs: handle __wait_on_freeing_inode() and evict() raceMateusz Guzik1-0/+20
2024-07-15Merge tag 'vfs-6.11.inode' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-26/+82
2024-06-25fs: Export in_group_or_capable()Youling Tang1-0/+1
2024-06-13vfs: partially sanitize i_state zeroing on inode creationMateusz Guzik1-10/+3
2024-06-12vfs: add rcu-based find_inode variants for iget opsMateusz Guzik1-17/+80
2024-03-15Merge tag 'bcachefs-2024-03-13' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-3/+4
2024-03-13fs: file_remove_privs_flags()Kent Overstreet1-3/+4
2024-03-11Merge tag 'vfs-6.9.iomap' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-0/+1
2024-03-01fs: use inode_set_ctime_to_ts to set inode ctime to current timeNguyen Dinh Phi1-1/+1
2024-02-27vfs: remove SLAB_MEM_SPREAD flag usageChengming Zhou1-1/+1
2024-02-06fs: Move enum rw_hint into a new header fileBart Van Assche1-0/+1
2024-01-22fs: improve dump_mapping() robustnessBaolin Wang1-1/+2
2024-01-11Merge tag 'pull-rename' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-43/+6
2024-01-10Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+0
2024-01-09Merge tag 'mm-stable-2024-01-08-15-31' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2024-01-08Merge tag 'vfs-6.8.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-11/+11
2023-12-28fs: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-1/+0
2023-12-21fs: fix doc comment typo fs tree wideAlexander Mikhalitsyn1-1/+1
2023-12-12list_lru: allow explicit memcg and NUMA node selectionNhat Pham1-2/+2
2023-12-12fs/inode: Make relatime_need_update return boolHao Ge1-6/+6
2023-11-25kill lock_two_inodes()Al Viro1-43/+6
2023-11-21fs: Rename mapping private membersMatthew Wilcox (Oracle)1-4/+4
2023-11-20filemap: add a per-mapping stable writes flagChristoph Hellwig1-0/+2
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-4/+4
2023-10-30Merge tag 'vfs-6.7.ctime' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-14/+21
2023-10-30Merge tag 'vfs-6.7.misc' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfsLinus Torvalds1-4/+4
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan1-4/+4
2023-10-18fs: convert core infrastructure to new timestamp accessorsJeff Layton1-14/+21
2023-09-20Revert "fs: add infrastructure for multigrain timestamps"Christian Brauner1-79/+3
2023-09-11fs: rename __mnt_{want,drop}_write*() helpersAmir Goldstein1-4/+4
2023-08-28Merge tag 'v6.6-vfs.super' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-15/+2
2023-08-28Merge tag 'v6.6-vfs.ctime' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-40/+174
2023-08-21fs: simplify invalidate_inodesChristoph Hellwig1-15/+2
2023-08-12locking: remove spin_lock_prefetchMateusz Guzik1-3/+0
2023-08-11fs: add infrastructure for multigrain timestampsJeff Layton1-3/+79
2023-08-11fs: drop the timespec64 argument from update_timeJeff Layton1-17/+13
2023-08-09fs: drop the timespec64 arg from generic_update_timeJeff Layton1-17/+65
2023-08-09fs: remove silly warning from current_timeJeff Layton1-6/+0
2023-07-13fs: convert to ctime accessor functionsJeff Layton1-3/+7
2023-07-10fs: add ctime accessors infrastructureJeff Layton1-0/+16
2023-07-04fs: don't assume arguments are non-NULLChristian Brauner1-2/+4
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-1/+2
2023-06-07fs: Restrict lock_two_nondirectories() to non-directory inodesJan Kara1-10/+10
2023-06-02fs: Establish locking order for unrelated directoriesJan Kara1-0/+42
2023-05-19fs: remove the special !CONFIG_BLOCK def_blk_fopsChristoph Hellwig1-1/+2
2023-04-27Merge tag 'mm-stable-2023-04-27-15-30' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+1
2023-04-18mm: vmscan: refactor updating current->reclaim_stateYosry Ahmed1-2/+1
2023-03-27Update relatime comments to include equalityStephen Kitt1-4/+4
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-29/+28
2023-01-19fs: port fs{g,u}id helpers to mnt_idmapChristian Brauner1-4/+2
2023-01-19fs: port i_{g,u}id_into_vfs{g,u}id() to mnt_idmapChristian Brauner1-6/+2
2023-01-19fs: port privilege checking helpers to mnt_idmapChristian Brauner1-9/+11
2023-01-19fs: port inode_owner_or_capable() to mnt_idmapChristian Brauner1-6/+7
2023-01-19fs: port inode_init_owner() to mnt_idmapChristian Brauner1-6/+8
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-18fs: port vfs_*() helpers to struct mnt_idmapChristian Brauner1-3/+3
2023-01-11filelock: move file locking definitions to separate header fileJeff Layton1-0/+1
2022-12-12Merge tag 'fs.vfsuid.conversion.v6.2' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-4/+4
2022-12-12Merge tag 'fs.ovl.setgid.v6.2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-36/+28
2022-10-26fs: use type safe idmapping helpersChristian Brauner1-4/+4
2022-10-23fs: drop useless condition from inode_needs_update_timeJeff Layton1-3/+0
2022-10-18attr: use consistent sgid stripping checksChristian Brauner1-3/+4
2022-10-18fs: move should_remove_suid()Christian Brauner1-29/+0
2022-10-18attr: add in_group_or_capable()Christian Brauner1-4/+24
2022-10-06Merge tag 'pull-inode' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-4/+3
2022-09-01fs: fix UAF/GPF bug in nilfs_mdt_destroyDongliang Mu1-4/+3
2022-08-18fs: __file_remove_privs(): restore call to inode_has_no_xattr()Stefan Roesch1-6/+8
2022-08-11Merge tag 'ceph-for-5.20-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-3/+7
2022-08-09Merge tag 'fs.setgid.v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds1-4/+30
2022-08-03Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+1
2022-08-03fs: change test in inode_insert5 for adding to the sb listJeff Layton1-3/+7
2022-07-24fs: Add async write file modification handling.Stefan Roesch1-3/+42
2022-07-24fs: Split off inode_needs_update_time and __file_update_timeStefan Roesch1-26/+50
2022-07-24fs: add __remove_file_privs() with flags parameterStefan Roesch1-20/+37
2022-07-21fs: move S_ISGID stripping into the vfs_*() helpersYang Xu1-2/+0
2022-07-19fs: add mode_strip_sgid() helperYang Xu1-4/+32
2022-06-29mm: Remove __delete_from_page_cache()Matthew Wilcox (Oracle)1-1/+1
2022-06-06writeback: Fix inode->i_io_list not be protected by inode->i_lock errorJchao Sun1-1/+1
2022-03-22fs: introduce alloc_inode_sb() to allocate filesystems specific inodeMuchun Song1-1/+1
2022-01-22fs: move inode sysctls to its own fileLuis Chamberlain1-7/+32
2022-01-15mm,fs: split dump_mapping() out from dump_page()Matthew Wilcox (Oracle)1-0/+49
2021-11-17fs: Remove FS_THP_SUPPORTMatthew Wilcox (Oracle)1-2/+0
2021-11-09Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-19/+27
2021-11-09vfs: keep inodes with page cache off the inode shrinker LRUJohannes Weiner1-19/+27
2021-10-26fs: export an inode_update_time helperJosef Bacik1-3/+4
2021-09-17mm: Fully initialize invalidate_lock, amend lock class laterSebastian Andrzej Siewior1-2/+4
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2021-09-03fs: inode: count invalidated shadow pages in pginodestealJohannes Weiner1-1/+1
2021-07-13mm: Protect operations adding pages to page cache with invalidate_lockJan Kara1-0/+2
2021-05-05mm: remove nrexceptional from inode: remove BUG_ONHugh Dickins1-1/+8
2021-05-05mm: remove nrexceptional from inodeMatthew Wilcox (Oracle)1-1/+1
2021-04-27Merge tag 'fs.idmapped.helpers.v5.13' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-2/+2
2021-04-12vfs: remove unused ioctl helpersMiklos Szeredi1-87/+0
2021-03-23fs: introduce two inode i_{u,g}id initialization helpersChristian Brauner1-2/+2
2021-03-23fs: document and rename fsid helpersChristian Brauner1-2/+2
2021-02-27Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+1
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-13/+31
2021-02-22Merge tag 'lazytime_for_v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-16/+18
2021-01-24open: handle idmapped mounts in do_truncate()Christian Brauner1-3/+4
2021-01-24namei: handle idmapped mounts in may_*() helpersChristian Brauner1-1/+1
2021-01-24attr: handle idmapped mountsChristian Brauner1-1/+1
2021-01-24inode: make init and permission helpers idmapped mount awareChristian Brauner1-10/+26
2021-01-24capability: handle idmapped mountsChristian Brauner1-1/+2
2021-01-21fs: fix kernel-doc markupsMauro Carvalho Chehab1-2/+2
2021-01-13fs: only specify I_DIRTY_TIME when needed in generic_update_time()Eric Biggers1-16/+18
2021-01-04fs/inode.c: make inode_init_always() initialize i_ino to 0Eric Biggers1-0/+1