aboutsummaryrefslogtreecommitdiffstats
path: root/fs/inode.c
AgeCommit message (Expand)AuthorFilesLines
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-41/+175
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-18/+66
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-18/+20
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-18/+20
2021-01-04fs/inode.c: make inode_init_always() initialize i_ino to 0Eric Biggers1-0/+1
2020-12-25Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+3
2020-12-10fs: Handle I_DONTCACHE in iput_final() instead of generic_drop_inode()Hao Li1-1/+3
2020-12-01block: remove i_bdevChristoph Hellwig1-3/+0
2020-10-16fs: add a filesystem flag for THPsMatthew Wilcox (Oracle)1-0/+2
2020-06-05Merge tag 'afs-next-20200604' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-16/+96
2020-06-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-1/+1
2020-05-31vfs, afs, ext4: Make the inode hash table RCU searchableDavid Howells1-16/+96
2020-04-27sysctl: pass kernel pointers to ->proc_handlerChristoph Hellwig1-1/+1
2020-04-20fs: inode.c: get rid of docs warningsMauro Carvalho Chehab1-3/+3
2020-03-06futex: Fix inode life-time issuePeter Zijlstra1-0/+1
2020-02-08Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-13/+19
2020-02-05Merge branch 'imm.timestamp' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-30/+3
2020-02-03fs: Enable bmap() function to properly return errorsCarlos Maiolino1-13/+19
2020-01-22fscrypt: don't allow v1 policies with casefoldingDaniel Rosenberg1-1/+2
2019-12-18fs: avoid softlockups in s_inodes iteratorsEric Sandeen1-0/+7
2019-12-08fs: Do not overload update_timeDeepa Dinamani1-6/+3
2019-12-08fs: Delete timespec64_trunc()Deepa Dinamani1-24/+0
2019-09-24mm,thp: avoid writes to file with THP in pagecacheSong Liu1-0/+3
2019-08-30vfs: Add timestamp_truncate() apiDeepa Dinamani1-1/+32
2019-07-12Merge tag 'vfs-fix-ioctl-checking-3' of git://git.kernel.org/pub/scm/fs/xfs/x...Linus Torvalds1-0/+86
2019-07-10Merge tag 'copy-file-range-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xf...Linus Torvalds1-0/+20
2019-07-01vfs: only allow FSSETXATTR to set DAX flag on files and dirsDarrick J. Wong1-0/+8
2019-07-01vfs: teach vfs_ioc_fssetxattr_check to check extent size hintsDarrick J. Wong1-0/+18
2019-07-01vfs: teach vfs_ioc_fssetxattr_check to check project id infoDarrick J. Wong1-0/+13
2019-07-01vfs: create a generic checking function for FS_IOC_FSSETXATTRDarrick J. Wong1-0/+23
2019-07-01vfs: create a generic checking and prep function for FS_IOC_SETFLAGSDarrick J. Wong1-0/+24
2019-06-09vfs: introduce file_modified() helperAmir Goldstein1-0/+20
2019-05-31mm: fix page cache convergence regressionJohannes Weiner1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-07Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2019-05-07Merge branch 'work.icache' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-22/+34
2019-05-01new inode method: ->free_inode()Al Viro1-22/+34
2019-04-28Abort file_remove_privs() for non-reg. filesAlexander Lochmann1-2/+7
2019-04-26fs: use timespec64 in relatime_need_updateArnd Bergmann1-2/+2
2019-03-05fs/inode.c: inode_set_flags(): replace opencoded set_mask_bits()Vineet Gupta1-7/+1
2019-02-12Revert "mm: don't reclaim inodes with many attached pages"Dave Chinner1-5/+2
2018-12-28Merge tag 'y2038-for-4.21' of ssh://gitolite.kernel.org:/pub/scm/linux/kernel...Linus Torvalds1-1/+3
2018-12-18vfs: replace current_kernel_time64 with ktime equivalentArnd Bergmann1-1/+3
2018-11-18mm: don't reclaim inodes with many attached pagesRoman Gushchin1-2/+5
2018-10-31mm: remove include/linux/bootmem.hMike Rapoport1-1/+1
2018-10-21page cache: Finish XArray conversionMatthew Wilcox1-1/+1
2018-08-21Merge tag 'ovl-update-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-40/+6
2018-08-13Merge branch 'work.mkdir' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-6/+47
2018-08-03vfs: don't evict uninitialized inodeMiklos Szeredi1-2/+6
2018-08-03new primitive: discard_new_inode()Al Viro1-4/+41
2018-07-18Revert "vfs: update ovl inode before relatime check"Miklos Szeredi1-27/+6
2018-07-18Revert "ovl: fix relatime for directories"Miklos Szeredi1-17/+4
2018-07-05Fix up non-directory creation in SGID directoriesLinus Torvalds1-0/+6
2018-06-15Merge tag 'vfs-timespec64' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-17/+41
2018-06-07Merge tag 'ovl-fixes-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-89/+75
2018-06-05vfs: change inode times to use struct timespec64Deepa Dinamani1-17/+17
2018-05-31vfs: factor out inode_insert5()Miklos Szeredi1-89/+75
2018-05-30fs: clear writeback errors in inode_init_alwaysDarrick J. Wong1-0/+1
2018-05-25fs: add timespec64_truncate()Deepa Dinamani1-0/+24
2018-04-11page cache: use xa_lockMatthew Wilcox1-6/+5
2018-03-11inode: don't memset the inode address space twiceDave Chinner1-3/+8
2018-03-11fs: don't clear I_DIRTY_TIME before calling mark_inode_dirty_syncChristoph Hellwig1-1/+0
2018-02-06vfs: remove might_sleep() from clear_inode()Shakeel Butt1-1/+0
2018-01-29fs: only set S_VERSION when updating times if necessaryJeff Layton1-3/+7