aboutsummaryrefslogtreecommitdiffstats
path: root/fs/libfs.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-13pidfs: remove config optionChristian Brauner1-15/+18
2024-03-11Merge tag 'vfs-6.9.file' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+1
2024-03-11Merge tag 'vfs-6.9.pidfd' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-0/+142
2024-03-07Merge tag 'for-next-6.9' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Christian Brauner1-62/+40
2024-03-01libfs: improve path_from_stashed()Christian Brauner1-23/+18
2024-03-01libfs: add stashed_dentry_prune()Christian Brauner1-2/+27
2024-03-01libfs: improve path_from_stashed() helperChristian Brauner1-21/+40
2024-03-01pidfs: convert to path_from_stashed() helperChristian Brauner1-3/+12
2024-03-01libfs: add path_from_stashed()Christian Brauner1-0/+94
2024-02-27libfs: Drop generic_set_encrypted_ci_d_opsGabriel Krisman Bertazi1-34/+0
2024-02-27libfs: Add helper to choose dentry operations at mount-timeGabriel Krisman Bertazi1-0/+28
2024-02-27libfs: Merge encrypted_ci_dentry_ops and ci_dentry_opsGabriel Krisman Bertazi1-28/+6
2024-02-27libfs: Attempt exact-match comparison first during casefolded lookupGabriel Krisman Bertazi1-17/+23
2024-02-22Merge series 'Use Maple Trees for simple_offset utilities' of https://lore.ke...Christian Brauner1-31/+65
2024-02-21libfs: Convert simple directory offsets to use a Maple TreeChuck Lever1-24/+23
2024-02-21libfs: Add simple_offset_empty()Chuck Lever1-0/+32
2024-02-21libfs: Define a minimum directory offsetChuck Lever1-5/+8
2024-02-21libfs: Re-arrange locking in offset_iterate_dir()Chuck Lever1-6/+6
2024-02-20libfs: Remove unnecessary ‘0’ values from retLi zeming1-1/+1
2024-02-05filelock: split leases out of struct file_lockJeff Layton1-1/+1
2024-01-11Merge tag 'pull-dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-36/+26
2023-11-25Merge branches 'work.dcache-misc' and 'work.dcache2' into work.dcacheAl Viro1-24/+21
2023-11-25simple_fill_super(): don't bother with d_genocide() on failureAl Viro1-12/+5
2023-11-25dentry: switch the lists of children to hlistAl Viro1-24/+21
2023-11-20libfs: getdents() should return 0 after reaching EODChuck Lever1-3/+11
2023-11-07Merge tag 'vfs-6.7.fsid' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-0/+44
2023-10-28fs: fix build error with CONFIG_EXPORTFS=m or not definedAmir Goldstein1-0/+41
2023-10-28fs: report f_fsid from s_dev for "simple" filesystemsAmir Goldstein1-0/+3
2023-10-18fs: new accessor methods for atime and mtimeJeff Layton1-11/+30
2023-09-20direct_write_fallback(): on error revert the ->ki_pos update from buffered writeAl Viro1-0/+1
2023-08-31Merge tag 'ext4_for_linus-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-12/+2
2023-08-28Merge tag 'v6.6-vfs.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-21/+21
2023-08-28Merge tag 'v6.6-vfs.tmpfs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-0/+248
2023-08-27libfs: remove redundant checks of s_encodingEric Biggers1-12/+2
2023-08-21libfs: Convert simple_write_begin and simple_write_end to use a folioMatthew Wilcox (Oracle)1-20/+20
2023-08-09libfs: Remove parent dentry locking in offset_iterate_dir()Chuck Lever1-7/+4
2023-08-09libfs: Add a lock class for the offset map's xa_lockChuck Lever1-0/+3
2023-08-09libfs: Add directory operations for stable offsetsChuck Lever1-0/+248
2023-08-09fs: pass the request_mask to generic_fillattrJeff Layton1-2/+2
2023-07-24kernfs: convert to ctime accessor functionsJeff Layton1-9/+10
2023-07-10fs: Pass argument to fcntl_setlease as intLuca Vizzarro1-1/+1
2023-07-10fs: new helper: simple_rename_timestampJeff Layton1-9/+27
2023-06-09fs: factor out a direct_write_fallback helperChristoph Hellwig1-0/+41
2023-04-03fs: consolidate duplicate dt_type helpersJeff Layton1-7/+2
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-10/+10
2023-01-26fs: uninline inode_query_iversionJeff Layton1-0/+36
2023-01-19fs: port ->rename() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->getattr() to pass mnt_idmapChristian Brauner1-4/+4
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner1-5/+5
2022-11-30libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed valueAkinobu Mita1-3/+19
2022-10-03fs: uninline inode_maybe_inc_iversion()Andrew Morton1-0/+46
2022-05-09fs: Convert simple_readpage to simple_read_folioMatthew Wilcox (Oracle)1-7/+7
2022-05-08fs: Remove flags parameter from aops->write_beginMatthew Wilcox (Oracle)1-1/+1
2022-05-08fs: Remove aop flags parameter from grab_cache_page_write_begin()Matthew Wilcox (Oracle)1-1/+1
2022-03-16fs: Convert __set_page_dirty_no_writeback to noop_dirty_folioMatthew Wilcox (Oracle)1-2/+2
2022-03-15fs: Remove noop_invalidatepage()Matthew Wilcox (Oracle)1-11/+0
2022-01-20unicode: clean up the Kconfig symbol confusionChristoph Hellwig1-5/+5
2021-11-03libfs: Support RENAME_EXCHANGE in simple_rename()Lorenz Bauer1-1/+4
2021-11-03libfs: Move shmem_exchange to simple_rename_exchangeLorenz Bauer1-0/+24
2021-06-29fs: remove noop_set_page_dirty()Matthew Wilcox (Oracle)1-16/+0
2021-06-29fs: remove anon_set_page_dirty()Matthew Wilcox (Oracle)1-10/+1
2021-06-29fs: move ramfs_aops to libfsChristoph Hellwig1-4/+13
2021-03-23libfs: fix kernel-doc for mnt_usernsRandy Dunlap1-0/+1
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-12/+16
2021-02-21Merge tag 'selinux-pr-20210215' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-5/+0
2021-02-21Merge tag 'for-5.12/block-2021-02-17' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2021-01-27libfs: unexport generic_ci_d_compare() and generic_ci_d_hash()Eric Biggers1-5/+3
2021-01-27block: use an on-stack bio in blkdev_issue_flushChristoph Hellwig1-1/+1
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-16/+15
2021-01-24stat: handle idmapped mountsChristian Brauner1-2/+2
2021-01-24attr: handle idmapped mountsChristian Brauner1-2/+2
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-1/+6
2021-01-14fs: add LSM-supporting anon-inode interfaceDaniel Colascione1-5/+0
2020-12-17Merge tag 'f2fs-for-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+70
2020-12-02libfs: Add generic function for setting dentry_opsDaniel Rosenberg1-0/+70
2020-11-22libfs: fix error cast of negative value in simple_attr_write()Yicong Yang1-2/+4
2020-09-10fs: Add standard casefolding supportDaniel Rosenberg1-0/+87
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-2/+2
2020-05-22block: remove the error_sector argument to blkdev_issue_flushChristoph Hellwig1-1/+1
2020-03-24libfs: fix infoleak in simple_attr_read()Eric Biggers1-3/+5
2019-12-10simple_recursive_removal(): kernel-side rm -rf for ramfs-style filesystemsAl Viro1-0/+70
2019-10-14fs/libfs.c: fix kernel-doc warningRandy Dunlap1-2/+1
2019-10-09libfs: take cursors out of list when moving past the end of directoryAl Viro1-24/+25
2019-09-22Fix the locking in dcache_readdir() and friendsAl Viro1-65/+69
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-33/+49
2019-07-04convenience helper get_tree_nodev()Al Viro1-1/+1
2019-05-25vfs: Use sget_fc() for pseudo-filesystemsDavid Howells1-14/+10
2019-05-25fold mount_pseudo_xattr() into pseudo_fs_get_tree()Al Viro1-54/+34
2019-05-25vfs: Provide a mount_pseudo-replacement for the new mount APIDavid Howells1-0/+46
2019-05-25mount_pseudo(): drop 'name' argument, switch to d_make_root()Al Viro1-9/+3
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-0/+14
2019-04-30libfs: document simple_get_link()Eric Biggers1-0/+14
2019-04-08fs: mark expected switch fall-throughsGustavo A. R. Silva1-0/+2
2018-03-30fs, dax: prepare for dax-specific address_space_operationsDan Williams1-0/+39
2017-11-27Rename superblock flags (MS_xyz -> SB_xyz)Linus Torvalds1-3/+3
2017-07-06fs: convert __generic_file_fsync to use errseq_t based reportingJeff Layton1-4/+6
2017-07-06fs: check for writeback errors after syncing out buffers in generic_file_fsyncJeff Layton1-1/+3
2017-04-26fs: constify tree_descr arrays passed to simple_fill_super()Eric Biggers1-1/+1
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-6/+6
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells1-6/+6
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2017-01-10libfs: Modify mount_pseudo_xattr to be clear it is not a userspace mountEric W. Biederman1-1/+2
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-17Merge uncontroversial parts of branch 'readlink' of git://git.kernel.org/pub/...Linus Torvalds1-1/+0
2016-12-10simple_write_end(): don't zero in short copy into uptodateAl Viro1-6/+8
2016-12-09vfs: remove ".readlink = generic_readlink" assignmentsMiklos Szeredi1-1/+0
2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-8/+12
2016-10-10Merge remote-tracking branch 'ovl/rename2' into for-linusAl Viro1-1/+5
2016-10-10Merge branch 'work.xattr' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-24/+5
2016-10-07libfs: Use IOP_XATTR flag for empty directory handlingAndreas Gruenbacher1-21/+1
2016-10-06sockfs: Get rid of getxattr iopAndreas Gruenbacher1-3/+4
2016-09-27fs: Replace CURRENT_TIME with current_time() for inode timestampsDeepa Dinamani1-7/+7
2016-09-27libfs: support RENAME_NOREPLACE in simple_rename()Miklos Szeredi1-1/+5
2016-09-22fs: Give dentry to inode_change_ok() instead of inodeJan Kara1-1/+1
2016-06-20lockless next_positive()Al Viro1-5/+27
2016-06-20libfs.c: new helper - next_positive()Al Viro1-30/+47
2016-06-20dcache_{readdir,dir_lseek}(): don't bother with nested ->d_lockAl Viro1-9/+3
2016-06-10much milder d_walk() raceAl Viro1-3/+1
2016-05-27switch ->setxattr() to passing dentry and inode separatelyAl Viro1-2/+3
2016-05-09more trivial ->iterate_shared conversionsAl Viro1-1/+1
2016-05-02dcache_{readdir,dir_lseek}() users: switch to ->iterate_sharedAl Viro1-4/+1
2016-05-02Merge getxattr prototype change into work.lookupsAl Viro1-2/+2
2016-04-11->getxattr(): pass dentry and inode as separate argumentsAl Viro1-2/+2
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-12/+12
2016-01-22wrappers for ->i_mutex accessAl Viro1-5/+5
2015-12-30switch ->get_link() to delayed_call, kill ->put_link()Al Viro1-4/+5
2015-12-29kill free_page_put_link()Al Viro1-6/+0
2015-12-08replace ->follow_link() with new method that could stay in RCU modeAl Viro1-4/+5
2015-08-12fs: Set the size of empty dirs to 0.Eric W. Biederman1-1/+1
2015-07-04Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-5/+0
2015-07-03Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-0/+95
2015-07-01fs: Add helper functions for permanently empty directories.Eric W. Biederman1-0/+96
2015-06-23make simple_positive() publicAl Viro1-5/+0
2015-05-11new helper: free_page_put_link()Al Viro1-0/+6
2015-05-11switch ->put_link() from dentry to inodeAl Viro1-1/+1
2015-05-10don't pass nameidata to ->follow_link()Al Viro1-1/+1
2015-05-10new ->follow_link() and ->put_link() calling conventionsAl Viro1-8/+4
2015-05-10libfs: simple_follow_link()Al Viro1-0/+13
2015-04-15VFS: fs library helpers: d_inode() annotationsDavid Howells1-13/+13
2015-02-22VFS: (Scripted) Convert S_ISLNK/DIR/REG(dentry->d_inode) to d_is_*(dentry)David Howells1-1/+1
2015-02-05vfs: add support for a lazytime mount optionTheodore Ts'o1-1/+1
2014-11-03move d_rcu from overlapping d_child to overlapping d_aliasAl Viro1-6/+6
2014-10-07locks: plumb a "priv" pointer into the setlease routinesJeff Layton1-1/+3
2014-09-09locks: consolidate "nolease" routinesJeff Layton1-0/+16
2014-06-04fs/libfs.c: add generic data flush to fsyncFabian Frederick1-3/+31
2013-11-15consolidate simple ->d_delete() instancesAl Viro1-5/+7
2013-11-09take anon inode allocation to libfs.cAl Viro1-0/+43
2013-10-24new helper: kfree_put_link()Al Viro1-0/+10
2013-10-24libfs: get exports to definitions of objects being exported...Al Viro1-35/+34
2013-07-14make simple_lookup() usable for filesystems that set ->s_d_opAl Viro1-1/+2
2013-06-29[readdir] switch dcache_readdir() users to ->iterate()Al Viro1-50/+30
2012-12-20vfs: drop vmtruncateMarco Stornelli1-2/+0
2012-12-17lseek: the "whence" argument is called "whence"Andrew Morton1-2/+2
2012-09-05vfs: fix kerneldoc for generic_fh_to_parent()Yanchuan Nian1-1/+1
2012-07-14VFS: Pass mount flags to sget()David Howells1-2/+2
2012-07-14stop passing nameidata to ->lookup()Al Viro1-1/+1
2012-05-10vfs: make it possible to access the dentry hash/len as one 64-bit entryLinus Torvalds1-2/+2
2012-04-09dentry leak in simple_fill_super() failure exitAl Viro1-0/+1
2012-04-05libfs: add simple_open()Stephen Boyd1-0/+8
2012-03-24Merge tag 'module-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+1
2012-03-20make simple_pin_fs() pass MS_KERNMOUNT - it's a kernel-internal oneAl Viro1-1/+1
2012-03-20switch open-coded instances of d_make_root() to new helperAl Viro1-4/+2
2012-02-28fs: reduce the use of module.h wherever possiblePaul Gortmaker1-1/+1
2012-01-03fs: move code out of buffer.cAl Viro1-1/+1
2011-11-02filesystems: add set_nlink()Miklos Szeredi1-1/+1
2011-11-02vfs: fix dentry leak in simple_fill_super()Konstantin Khlebnikov1-1/+3
2011-07-22fix IN_DELETE_SELF on overwriting rename() on ramfs et.al.Al Viro1-1/+3
2011-07-20fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlersJosef Bacik1-4/+12
2011-07-20Make ->d_sb assign-once and always non-NULLAl Viro1-3/+3
2011-07-19fs/libfs.c: fix simple_attr_write() on 32bit machinesAkinobu Mita1-1/+1
2011-01-12pass default dentry_operations to mount_pseudo()Al Viro1-1/+3
2011-01-07fs: dcache reduce branches in lookup pathNick Piggin1-1/+1
2011-01-07fs: dcache remove dcache_lockNick Piggin1-8/+0
2011-01-07fs: dcache scale subdirsNick Piggin1-6/+18
2011-01-07fs: dcache scale d_unhashedNick Piggin1-9/+20
2011-01-07fs: change d_delete semanticsNick Piggin1-1/+1
2010-10-29convert get_sb_pseudo() usersAl Viro1-8/+6
2010-10-25new helper: ihold()Al Viro1-1/+1
2010-10-25fs: add sync_inode_metadataChristoph Hellwig1-5/+1
2010-09-10libfs: Fix shift bug in generic_check_addressable()Joel Becker1-4/+4
2010-09-10ext3/ext4: Factor out disk addressability checkPatrick J. LoPresti1-0/+29
2010-08-09check ATTR_SIZE contraints in inode_change_okChristoph Hellwig1-49/+2
2010-08-09default to simple_setattrChristoph Hellwig1-5/+11
2010-08-09rename generic_setattrChristoph Hellwig1-2/+1
2010-06-04wrong type for 'magic' argument in simple_fill_super()Roberto Sassu1-1/+2
2010-05-27fs: introduce new truncate sequencenpiggin@suse.de1-0/+76
2010-05-27rename the generic fsync implementationsChristoph Hellwig1-9/+21
2010-05-27drop unused dentry argument to ->fsyncChristoph Hellwig1-3/+3
2010-05-10FS / libfs: Implement simple_write_to_bufferJiri Slaby1-0/+35
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-03libfs: Unexport and kill simple_prepare_writeBoaz Harrosh1-16/+6
2010-03-03libfs: Open code simple_commit_write into only userBoaz Harrosh1-24/+35
2009-12-16libfs: move EXPORT_SYMBOL for d_alloc_nameH Hartley Sweeten1-1/+0
2009-09-24libfs: return error code on failed attr setWu Fengguang1-2/+3
2009-09-24libfs: make simple_read_from_buffer conventionalSteven Rostedt1-2/+6
2009-08-18vfs: make get_sb_pseudo set s_maxbytes to value that can be cast to signedJeff Layton1-1/+1
2009-06-11New helper - simple_fsync()Al Viro1-0/+25
2009-05-09Convert obvious places to deactivate_locked_super()Al Viro1-2/+1
2009-04-03kmemtrace, fs: uninline simple_transaction_set()Ingo Molnar1-0/+16