aboutsummaryrefslogtreecommitdiffstats
path: root/fs/super.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-27fs,block: yield devices earlyChristian Brauner1-21/+3
2024-03-18fs,block: get holder during claimChristian Brauner1-0/+18
2024-03-11Merge tag 'vfs-6.9.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-9/+9
2024-02-25bdev: open block device as filesChristian Brauner1-9/+9
2024-02-25fs/super.c: don't drop ->s_user_ns until we free struct super_block itselfAl Viro1-9/+4
2024-01-10Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/linuxLinus Torvalds1-6/+6
2024-01-08Merge tag 'vfs-6.8.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-223/+275
2023-12-27fs: move fscrypt keyring destruction to after ->put_superJosef Bacik1-6/+6
2023-12-12fs: super: use GFP_KERNEL instead of GFP_USER for super block allocationAlexander Mikhalitsyn1-1/+1
2023-11-28super: don't bother with WARN_ON_ONCE()Christian Brauner1-4/+1
2023-11-28super: massage wait event mechanismChristian Brauner1-37/+14
2023-11-18fs: handle freezing from multiple devicesChristian Brauner1-32/+112
2023-11-18fs: remove dead checkChristian Brauner1-5/+0
2023-11-18fs: streamline thaw_super_lockedChristoph Hellwig1-23/+20
2023-11-18fs: simplify setup_bdev_super() callsChristian Brauner1-16/+0
2023-11-18fs: remove unused helperChristian Brauner1-40/+14
2023-11-18fs: remove get_active_super()Christian Brauner1-28/+0
2023-11-18bdev: implement freeze and thaw holder operationsChristian Brauner1-20/+79
2023-11-18bdev: rename freeze and thaw helpersChristian Brauner1-2/+2
2023-11-18fs: massage locking helpersChristian Brauner1-44/+61
2023-11-07Merge tag 'ovl-update-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/o...Linus Torvalds1-0/+1
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-16/+19
2023-10-31ovl: punt write aio completion to workqueueAmir Goldstein1-0/+1
2023-10-28fs: assert that open_mutex isn't held over holder opsChristian Brauner1-0/+1
2023-10-28fs: Avoid grabbing sb->s_umount under bdev->bd_holder_lockJan Kara1-18/+32
2023-10-28fs: Convert to bdev_open_by_dev()Jan Kara1-6/+9
2023-10-04mm: shrinker: convert shrinker_rwsem to mutexQi Zheng1-1/+1
2023-10-04fs: super: dynamically allocate the s_shrinkQi Zheng1-15/+18
2023-08-31fs: export sget_dev()Christian Brauner1-19/+45
2023-08-29Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds1-1/+3
2023-08-29Merge tag 'v6.6-vfs.super.fixes' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-20/+31
2023-08-29super: ensure valid infoChristian Brauner1-19/+30
2023-08-29super: move lockdep assertChristian Brauner1-1/+1
2023-08-28Merge tag 'v6.6-vfs.super' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-240/+525
2023-08-23Merge tag 'vfs-6.6-merge-2' of ssh://gitolite.kernel.org/pub/scm/fs/xfs/xfs-l...Christian Brauner1-18/+102
2023-08-22super: use higher-level helper for {freeze,thaw}Christian Brauner1-3/+12
2023-08-21super: wait until we passed kill superChristian Brauner1-7/+64
2023-08-21super: wait for nascent superblocksChristian Brauner1-51/+153
2023-08-21super: make locking naming consistentChristian Brauner1-14/+14
2023-08-21super: use locking helpersChristian Brauner1-48/+78
2023-08-21fs: simplify invalidate_inodesChristoph Hellwig1-1/+1
2023-08-21fs: remove get_superChristoph Hellwig1-37/+0
2023-08-21block: call into the file system for ioctl BLKFLSBUFChristoph Hellwig1-0/+13
2023-08-21block: call into the file system for bdev_mark_deadChristoph Hellwig1-2/+6
2023-08-21block: consolidate __invalidate_device and fsync_bdevChristoph Hellwig1-2/+2
2023-08-14fs: add FSCONFIG_CMD_CREATE_EXCLChristian Brauner1-9/+27
2023-08-14super: remove get_tree_single_reconf()Christian Brauner1-23/+5
2023-08-11fs: export fs_holder_opsChristoph Hellwig1-1/+2
2023-08-11fs: stop using get_super in fs_mark_deadChristoph Hellwig1-4/+26
2023-08-11fs: use the super_block as holder when mounting file systemsChristoph Hellwig1-4/+4
2023-08-10fs: export setup_bdev_superChristoph Hellwig1-1/+2
2023-08-10fs: open block device after superblock creationJan Kara1-93/+95
2023-08-09fs, block: remove bdev->bd_superChristoph Hellwig1-3/+0
2023-08-02fs: remove emergency_thaw_bdevChristoph Hellwig1-1/+3
2023-07-17fs: wait for partially frozen filesystemsDarrick J. Wong1-2/+32
2023-07-17fs: distinguish between user initiated freeze and kernel initiated freezeDarrick J. Wong1-9/+70
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