aboutsummaryrefslogtreecommitdiffstats
path: root/fs/super.c
AgeCommit message (Expand)AuthorFilesLines
2023-06-29Merge tag 'fs_for_v6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-4/+0
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-21/+27
2023-06-26Merge tag 'v6.5/vfs.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-9/+13
2023-06-20fs: Provide helpers for manipulating sb->s_readonly_remountJan Kara1-11/+6
2023-06-19Revert "mm: shrinkers: convert shrinker_rwsem to mutex"Qi Zheng1-1/+1
2023-06-15fs: Protect reconfiguration of sb read-write from racing writesJan Kara1-1/+10
2023-06-12fs: remove sb->s_modeChristoph Hellwig1-2/+0
2023-06-12block: add a sb_open_mode helperChristoph Hellwig1-11/+4
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-11/+9
2023-06-05fs: add a method to shut down the file systemChristoph Hellwig1-2/+19
2023-06-05block: introduce holder opsChristoph Hellwig1-2/+2
2023-05-30fs: Drop wait_unfrozen wait queueJan Kara1-4/+0
2023-05-15vfs: Replace all non-returning strlcpy with strscpyAzeem Shaikh1-2/+2
2023-03-28mm: shrinkers: convert shrinker_rwsem to mutexQi Zheng1-1/+1
2023-03-14fscrypt: destroy keyring after security_sb_delete()Eric Biggers1-3/+12
2023-02-20Merge tag 'for-6.3/dio-2023-02-16' of git://git.kernel.dk/linuxLinus Torvalds1-0/+24
2023-02-20Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linuxLinus Torvalds1-1/+0
2023-02-07fs/super.c: stop calling fscrypt_destroy_keyring() from __put_super()Eric Biggers1-1/+0
2023-01-27fs: Use CHECK_DATA_CORRUPTION() when kernel bugs are detectedJann Horn1-4/+17
2023-01-26fs: move sb_init_dio_done_wq out of direct-io.cChristoph Hellwig1-0/+24
2022-12-12Merge tag 'pull-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-51/+9
2022-11-25fs: simplify vfs_get_superChristoph Hellwig1-51/+9
2022-10-19fscrypt: fix keyring memory leak on mount failureEric Biggers1-1/+2
2022-09-21fscrypt: stop using keyrings subsystem for fscrypt_master_keyEric Biggers1-1/+1
2022-08-08Merge tag 'fuse-update-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+31
2022-07-27vfs: function to prevent re-use of block-device-based superblocksDaniil Lunev1-2/+31
2022-07-03mm: shrinkers: provide shrinkers with namesRoman Gushchin1-1/+5
2022-04-17block: add a bdev_stable_writes helperChristoph Hellwig1-1/+1
2022-01-30vfs: make freeze_super abort when sync_filesystem returns errorDarrick J. Wong1-7/+12
2022-01-22mm: remove cleancacheChristoph Hellwig1-3/+0
2022-01-17devtmpfs regression fix: reconfigure on each mountNeilBrown1-2/+2
2021-11-06fs: explicitly unregister per-superblock BDIsChristoph Hellwig1-0/+3
2021-08-09block: remove the bd_bdi in struct block_deviceChristoph Hellwig1-1/+1
2021-06-01block: move bd_mutex to struct gendiskChristoph Hellwig1-4/+4
2021-04-22fs,security: Add sb_delete hookMickaël Salaün1-0/+1
2021-02-22Merge tag 'docs-5.12' of git://git.lwn.net/linuxLinus Torvalds1-6/+6
2021-01-24block: remove the NULL bdev check in bdev_read_onlyChristoph Hellwig1-1/+2
2021-01-21fs: fix kernel-doc markupsMauro Carvalho Chehab1-6/+6
2020-12-01block: remove i_bdevChristoph Hellwig1-25/+19
2020-12-01fs: remove get_super_thawed and get_super_exclusive_thawedChristoph Hellwig1-49/+2
2020-11-10vfs: move __sb_{start,end}_write* to fs.hDarrick J. Wong1-30/+0
2020-11-10vfs: separate __sb_start_write into blocking and non-blocking helpersDarrick J. Wong1-6/+12
2020-11-10vfs: remove lockdep bogosity in __sb_start_writeDarrick J. Wong1-29/+4
2020-09-24bdi: replace BDI_CAP_STABLE_WRITES with a queue and a sb flagChristoph Hellwig1-0/+2
2020-06-10Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2020-06-02Merge tag 'for-5.8/block-2020-06-01' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+1
2020-05-29fs: fix indentation in deactivate_super()Yufen Yu1-1/+1
2020-05-09bdi: remove the name field in struct backing_dev_infoChristoph Hellwig1-2/+0
2020-05-09bdi: simplify bdi_allocChristoph Hellwig1-1/+1
2020-04-28Fix use after free in get_tree_bdev()David Howells1-1/+1
2019-12-18fs: call fsnotify_sb_delete after evict_inodesEric Sandeen1-1/+3
2019-10-10Merge branch 'work.mount3' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-1/+4
2019-10-09vfs: add missing blkdev_put() in get_tree_bdev()Ian Kent1-1/+4
2019-09-25Merge tag 'fuse-update-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+0
2019-09-19Merge branch 'work.mount2' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-7/+28
2019-09-19Merge tag 'y2038-vfs' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/p...Linus Torvalds1-0/+2
2019-09-18Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscryptLinus Torvalds1-0/+2
2019-09-06vfs: subtype handling moved to fuseDavid Howells1-5/+0
2019-09-05vfs: Add a single-or-reconfig keying to vfs_get_super()David Howells1-7/+28
2019-09-05vfs: Create fs_context-aware mount_bdev() replacementDavid Howells1-0/+94
2019-09-05new helper: get_tree_keyed()Al Viro1-0/+10
2019-08-30vfs: Add file timestamp range supportDeepa Dinamani1-0/+2
2019-08-12fscrypt: add FS_IOC_ADD_ENCRYPTION_KEY ioctlEric Biggers1-0/+2
2019-07-31Unbreak mount_capable()Al Viro1-4/+1
2019-07-04convenience helper: get_tree_single()Al Viro1-0/+8
2019-07-04convenience helper get_tree_nodev()Al Viro1-0/+8
2019-05-25vfs: Kill sget_userns()David Howells1-38/+16
2019-05-25vfs: Provide sb->s_iflags settings in fs_context structDavid Howells1-0/+1
2019-05-25move mount_capable() further outAl Viro1-6/+0
2019-05-25move mount_capable() calls to vfs_get_tree()Al Viro1-6/+6
2019-05-25switch mount_capable() to fs_contextAl Viro1-4/+7
2019-05-25move the capability checks from sget_userns() to legacy_get_tree()Al Viro1-4/+0
2019-05-25vfs: Kill mount_ns()David Howells1-38/+0
2019-05-25consolidate the capability checks in sget_{fc,userns}()Al Viro1-18/+14
2019-05-25start massaging the checks in sget_...(): move to sget_userns()Al Viro1-10/+4
2019-04-28[fix] get rid of checking for absent device name in vfs_get_tree()Al Viro1-5/+0
2019-02-28vfs: Add some logging to the core users of the fs_context logDavid Howells1-1/+3
2019-02-28convenience helpers: vfs_get_super() and sget_fc()Al Viro1-0/+171
2019-01-30introduce fs_context methodsAl Viro1-8/+28
2019-01-30convert do_remount_sb() to fs_contextDavid Howells1-34/+73
2019-01-30vfs_get_tree(): evict the call of security_sb_kern_mount()Al Viro1-12/+3
2019-01-30teach vfs_get_tree() to handle subtype, switch do_new_mount() to itAl Viro1-0/+5
2019-01-30vfs: Introduce fs_context, switch vfs_kern_mount() to it.David Howells1-27/+23
2018-12-21mount_fs: suppress MAC on MS_SUBMOUNT as well as MS_KERNMOUNTAl Viro1-1/+1
2018-12-21LSM: hide struct security_mnt_opts from any generic codeAl Viro1-7/+5
2018-12-21LSM: split ->sb_set_mnt_opts() out of ->sb_kern_mount()Al Viro1-1/+7
2018-12-21new helper: security_sb_eat_lsm_opts()Al Viro1-12/+1
2018-12-21LSM: lift parsing LSM options into the caller of ->sb_kern_mount()Al Viro1-8/+16
2018-12-20vfs: Suppress MS_* flag defs within the kernel unless explicitly enabledDavid Howells1-0/+1
2018-09-03fsnotify: add super block object typeAmir Goldstein1-1/+1
2018-08-26Merge branch 'ida-4.19' of git://git.infradead.org/users/willy/linux-daxLinus Torvalds1-43/+24
2018-08-21fs: Convert unnamed_dev_ida to new APIMatthew Wilcox1-43/+24
2018-08-17mm: add SHRINK_EMPTY shrinker methods return valueKirill Tkhai1-0/+3
2018-08-17fs: propagate shrinker::id to list_lruKirill Tkhai1-2/+2
2018-08-17fs/super.c: refactor alloc_super()Kirill Tkhai1-4/+4
2018-06-04Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2018-05-11fs: don't scan the inode cache before SB_BORN is setDave Chinner1-6/+24
2018-05-10it's SB_BORN, not MS_BORN...Al Viro1-1/+1
2018-04-16mm,vmscan: Allow preallocating memory for register_shrinker().Tetsuo Handa1-5/+4
2018-04-12Merge branch 'work.thaw' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-27/+78
2018-03-19buffer.c: call thaw_super during emergency thawMateusz Guzik1-2/+42
2018-01-31Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2017-12-25VFS: don't keep disconnected dentries on d_anonNeilBrown1-1/+1
2017-12-18sget(): handle failures of register_shrinker()Al Viro1-1/+5
2017-12-05alloc_super(): do ->s_umount initialization earlierAl Viro1-19/+18
2017-11-17Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-25/+21
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-11fold destroy_super() into __put_super()Al Viro1-21/+10
2017-10-11new helper: destroy_unused_super()Al Viro1-12/+19
2017-10-05vfs: factor sb iteration out of do_emergency_remountMateusz Guzik1-25/+36
2017-09-14Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-37/+37
2017-08-17quota: Convert dqio_mutex to rwsemJan Kara1-1/+1
2017-07-17VFS: Differentiate mount flags (MS_*) from internal superblock flagsDavid Howells1-34/+34
2017-07-17VFS: Convert sb->s_flags & MS_RDONLY to sb_rdonly(sb)David Howells1-5/+5
2017-07-11VFS: Kill off s_options and helpersDavid Howells1-1/+0
2017-07-06VFS: Clean up whitespace in fs/namespace.c and fs/super.cDavid Howells1-2/+2
2017-04-20bdi: Drop 'parent' argument from bdi_register[_va]()Jan Kara1-1/+1
2017-04-20fs: Remove SB_I_DYNBDI flagJan Kara1-4/+1
2017-04-20fs: Get proper reference for s_bdiJan Kara1-5/+2
2017-04-20fs: Provide infrastructure for dynamic BDIs in filesystemsJan Kara1-0/+49
2017-02-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-3/+10
2017-02-02block: Use pointer to backing_dev_info from request_queueJan Kara1-1/+1
2017-02-02fs: Better permission checking for submountsEric W. Biederman1-3/+10
2016-11-30quota: Remove dqonoff_mutexJan Kara1-1/+0
2016-11-23fs: Provide function to get superblock with exclusive s_umountJan Kara1-20/+60
2016-10-14fs/super.c: don't fool lockdep in freeze_super() and thaw_super() pathsOleg Nesterov1-12/+25
2016-10-14fs/super.c: fix race between freeze_super() and thaw_super()Oleg Nesterov1-3/+3
2016-07-29Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-8/+61
2016-07-26fs/fs-writeback.c: add a new writeback list for syncDave Chinner1-0/+2
2016-06-23userns: Remove the now unnecessary FS_USERNS_DEV_MOUNT flagEric W. Biederman1-2/+1
2016-06-23userns: Remove implicit MNT_NODEV fragility.Eric W. Biederman1-0/+3
2016-06-23mnt: Move the FS_USERNS_MOUNT check into sget_usernsEric W. Biederman1-0/+4
2016-06-23fs: Add user namespace member to struct super_blockEric W. Biederman1-6/+46
2016-06-23vfs: Pass data, ns, and ns->userns to mount_nsEric W. Biederman1-3/+10
2016-04-18Merge branch 'master' into for-nextJiri Kosina1-3/+2
2016-04-18Doc: treewide : Fix typos in DocBook/filesystem.xmlMasanari Iida1-1/+1
2016-03-03writeback: flush inode cgroup wb switches instead of pinning super_blockTejun Heo1-0/+1
2016-01-14Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2016-01-06fs: use block_device name vsprintf helperDmitry Monakhov1-3/+1
2015-12-08fs/super.c: use && instead of & for warn_on conditionVincent Stehlé1-1/+1
2015-08-21Merge branch 'superblock-scaling' of git://git.kernel.org/pub/scm/linux/kerne...Al Viro1-1/+3
2015-08-17sync: serialise per-superblock sync operationsDave Chinner1-0/+1
2015-08-17inode: convert inode_sb_list_lock to per-sbDave Chinner1-1/+2
2015-08-15change sb_writers to use percpu_rw_semaphoreOleg Nesterov1-81/+30
2015-08-15shift percpu_counter_destroy() into destroy_super_work()Oleg Nesterov1-4/+19
2015-08-15document rwsem_release() in sb_wait_write()Oleg Nesterov1-3/+9
2015-08-15fix the broken lockdep logic in __sb_start_write()Oleg Nesterov1-33/+40
2015-07-01fs:super:get_anon_bdev: fix race condition could cause dev exceed its upper l...Wang YanQing1-1/+1
2015-04-14cleancache: remove limit on the number of cleancache enabled filesystemsVladimir Davydov1-1/+1
2015-02-22trylock_super(): replacement for grab_super_passive()Konstantin Khlebnikov1-22/+18
2015-02-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2015-02-12Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-19/+28
2015-02-12fs: shrinker: always scan at least one object of each typeVladimir Davydov1-3/+6
2015-02-12fs: make shrinker memcg awareVladimir Davydov1-3/+3
2015-02-12list_lru: organize all list_lrus to listVladimir Davydov1-0/+8
2015-02-12fs: consolidate {nr,free}_cached_objects args in shrink_controlVladimir Davydov1-6/+6
2015-02-12list_lru: introduce list_lru_shrink_{count,walk}Vladimir Davydov1-13/+11
2015-02-02Make super_blocks and sb_lock staticAl Viro1-2/+2
2015-01-25allow attaching fs_pin to a group not associated with some superblockAl Viro1-2/+2
2015-01-20fs: remove default_backing_dev_infoChristoph Hellwig1-6/+2
2014-10-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-0/+2
2014-10-09fs: Fix theoretical division by 0 in super_cache_scan().Tetsuo Handa1-0/+2
2014-09-08percpu_counter: add @gfp to percpu_counter_init()Tejun Heo1-1/+2
2014-08-13Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jac...Linus Torvalds1-1/+0
2014-08-07make fs/{namespace,super}.c forget about acct.hAl Viro1-2/+1
2014-08-07drop ->s_umount around acct_auto_close()Al Viro1-4/+14
2014-08-07acct: get rid of acct_listAl Viro1-1/+1
2014-07-15quota: remove dqptr_semNiu Yawei1-1/+0
2014-06-04fs/superblock: avoid locking counting inodes and dentries before reclaiming themTim Chen1-4/+8
2014-06-04fs/superblock: unregister sb shrinker before ->kill_sb()Dave Chinner1-3/+1
2014-04-16fs: Don't return 0 from get_anon_bdevThomas Bächler1-1/+4
2014-03-13fs: push sync_filesystem() down to the file system's remount_fs()Theodore Ts'o1-2/+0
2014-01-31fs/super.c: sync ro remount after blocking writersAndrew Ruder1-1/+2
2014-01-21fs/super.c: fix WARN on alloc_super() fail pathVladimir Davydov1-1/+2
2013-11-09get rid of s_files and files_lockAl Viro1-13/+2
2013-10-24make freeing super_block rcu-delayedAl Viro1-1/+1
2013-10-24uninline destroy_super(), consolidate alloc_super()Al Viro1-120/+86
2013-10-01fs/super.c: fix lru_list leak for realAl Viro1-2/+2
2013-09-10super: fix for destroy lrusGlauber Costa1-0/+3
2013-09-10list_lru: dynamically adjust node arraysGlauber Costa1-2/+9
2013-09-10fs: convert inode and dentry shrinking to be node awareDave Chinner1-9/+14
2013-09-10dcache: convert to use new lru list infrastructureDave Chinner1-6/+5
2013-09-10inode: convert inode lru list to generic lru list code.Dave Chinner1-7/+5
2013-09-10shrinker: convert superblock shrinkers to new APIDave Chinner1-31/+49
2013-09-10dentry: move to per-sb LRU locksDave Chinner1-0/+1
2013-09-10super: fix calculation of shrinkable objects for small numbersGlauber Costa1-7/+7
2013-09-07prune_super(): sb->s_op is never NULLAl Viro1-1/+1
2013-09-04direct-io: Implement generic deferred AIO completionsChristoph Hellwig1-9/+9
2013-07-20livelock avoidance in sget()Al Viro1-15/+10
2013-02-27hlist: drop the node parameter from iteratorsSasha Levin1-4/+2
2013-02-27idr: remove MAX_IDR_MASK and move left MAX_IDR_* into idr.cTejun Heo1-1/+1
2012-10-09vfs: drop lock/unlock superMarco Stornelli1-23/+0
2012-10-06idr: rename MAX_LEVEL to MAX_IDR_LEVELFengguang Wu1-1/+1
2012-10-02fs: push rcu_barrier() from deactivate_locked_super() to filesystemsKirill A. Shutemov1-6/+0
2012-08-04vfs: kill write_super and sync_supersArtem Bityutskiy1-40/+0
2012-08-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-22/+230
2012-07-31vmscan: remove obsolete shrink_control commentMinchan Kim1-1/+1
2012-07-31fs: Remove old freezing mechanismJan Kara1-1/+0
2012-07-31fs: Improve filesystem freezing handlingJan Kara1-21/+230
2012-07-30Merge tag 'writeback-proportions' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1