aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs
AgeCommit message (Expand)AuthorFilesLines
2024-04-14kernfs: annotate different lockdep class for of->mutex of writable filesAmir Goldstein1-1/+8
2024-03-21Merge tag 'driver-core-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-14/+27
2024-02-08fs: super_set_uuid()Kent Overstreet1-1/+3
2024-01-30kernfs: fix false-positive WARN(nr_mmapped) in kernfs_drain_open_filesNeel Natu1-3/+5
2024-01-30kernfs: RCU protect kernfs_nodes and avoid kernfs_idr_lock in kernfs_find_and...Tejun Heo2-11/+22
2024-01-11Revert "kernfs: convert kernfs_idr_lock to an irq safe raw spinlock"Tejun Heo1-13/+10
2024-01-04kernfs: convert kernfs_idr_lock to an irq safe raw spinlockAndrea Righi1-10/+13
2024-01-02kernfs: fix reference to renamed functionAhelenia Ziemiańska1-1/+1
2023-12-20kernfs: d_obtain_alias(NULL) will do the right thing...Al Viro1-3/+0
2023-12-15kernfs: Convert kernfs_path_from_node_locked() from strlcpy() to strscpy()Kees Cook1-17/+17
2023-12-15kernfs: Convert kernfs_name_locked() from strlcpy() to strscpy()Kees Cook1-5/+5
2023-12-15kernfs: Convert kernfs_walk_ns() from strlcpy() to strscpy()Kees Cook1-3/+3
2023-12-15fs/kernfs/dir: obey S_ISGIDMax Kellermann1-0/+12
2023-11-03Merge tag 'driver-core-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+28
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-2/+3
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds2-50/+1
2023-10-30Merge tag 'vfs-6.7.ctime' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-3/+3
2023-10-25kernfs: drop shared NUMA mempolicy hooksHugh Dickins1-49/+0
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan1-2/+3
2023-10-18kernfs: convert to new timestamp accessorsJeff Layton1-3/+3
2023-10-09kernfs: move kernfs_xattr_handlers to .rodataWedson Almeida Filho2-2/+2
2023-10-05kernfs: sysfs: support custom llseek method for sysfs entriesValentine Sinitsyn1-1/+28
2023-10-04fs: super: dynamically allocate the s_shrinkQi Zheng1-1/+1
2023-09-01Merge tag 'driver-core-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-1/+16
2023-08-28Merge tag 'v6.6-vfs.tmpfs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds2-18/+30
2023-08-12kernfs: fix missing kernfs_iattr_rwsem lockingIan Kent1-0/+4
2023-08-10tmpfs,xattr: enable limited user extended attributesHugh Dickins1-1/+1
2023-08-09xattr: simple_xattr_set() return old_xattr to be freedHugh Dickins1-17/+29
2023-08-09fs: pass the request_mask to generic_fillattrJeff Layton1-1/+1
2023-08-05kernfs: attach uuid for every kernfs and report it in fsidIvan Babrou1-1/+12
2023-07-24kernfs: convert to ctime accessor functionsJeff Layton1-3/+2
2023-07-03Merge tag 'driver-core-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+2
2023-05-31kernfs: fix missing kernfs_idr_lock to remove an ID from the IDRMuchun Song1-0/+2
2023-05-24tty, proc, kernfs, random: Use copy_splice_read()David Howells1-1/+1
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds5-23/+33
2023-04-03fs: consolidate duplicate dt_type helpersJeff Layton1-7/+1
2023-03-29kernfs: change kernfs_rename_lock into a read-write lock.Imran Khan1-9/+9
2023-03-29kernfs: Use a per-fs rwsem to protect per-fs list of kernfs_super_info.Imran Khan4-6/+8
2023-03-29kernfs: Introduce separate rwsem to protect inode attributes.Imran Khan3-8/+16
2023-02-24Merge tag 'driver-core-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-3/+0
2023-01-19kernfs: remove an unused if statement in kernfs_path_from_node_locked()Zhen Lei1-3/+0
2023-01-19fs: port xattr to mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner2-3/+3
2023-01-19fs: port ->rename() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->mkdir() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->getattr() to pass mnt_idmapChristian Brauner2-3/+3
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner2-4/+4
2022-11-23kernfs: fix all kernel-doc warnings and multiple typosRandy Dunlap6-48/+74
2022-11-21Merge 6.1-rc6 into driver-core-nextGreg Kroah-Hartman1-2/+12
2022-11-10kernfs: Fix spurious lockdep warning in kernfs_find_and_get_node_by_id()Tejun Heo1-2/+12
2022-10-20kernfs: dont take i_lock on revalidateIan Kent1-7/+17
2022-10-20kernfs: dont take i_lock on inode attr readIan Kent1-4/+0
2022-09-24kernfs: fix use-after-free in __kernfs_removeChristian A. Ehrhardt1-1/+4
2022-09-01kernfs: Implement kernfs_show()Tejun Heo1-1/+36
2022-09-01kernfs: Factor out kernfs_activate_one()Tejun Heo1-10/+17
2022-09-01kernfs: Add KERNFS_REMOVING flagsTejun Heo1-14/+7
2022-09-01kernfs: Improve kernfs_drain() and always call on removalTejun Heo1-12/+12
2022-09-01kernfs: Skip kernfs_drain_open_files() more aggressivelyTejun Heo3-21/+48
2022-09-01kernfs: Refactor kernfs_get_open_node()Tejun Heo1-14/+11
2022-09-01kernfs: Drop unnecessary "mutex" local variable initializationTejun Heo1-4/+5
2022-09-01kernfs: Simply by replacing kernfs_deref_open_node() with of_on()Tejun Heo1-43/+13
2022-07-28kernfs: Fix typo 'the the' in commentSlark Xiao1-1/+1
2022-07-06Revert "kernfs: Change kernfs_notify_list to llist."Imran Khan1-20/+27
2022-07-01kernfs: fix potential NULL dereference in __kernfs_removeYushan Zhou1-2/+5
2022-06-27kernfs: Replace global kernfs_open_file_mutex with hashed mutexes.Imran Khan3-14/+26
2022-06-27kernfs: Introduce interface to access global kernfs_open_file_mutex.Imran Khan1-18/+38
2022-06-27kernfs: Change kernfs_notify_list to llist.Imran Khan1-27/+20
2022-06-27kernfs: make ->attr.open RCU protected.Imran Khan1-46/+101
2022-06-27kernfs/file.c: remove redundant error return counter assignmentLin Feng1-1/+0
2022-05-19kernfs: Separate kernfs_pr_cont_buf and rename_lock.Hao Luo1-12/+19
2022-05-06kernfs: Rename kernfs_put_open_node to kernfs_unlink_open_file.Imran Khan1-9/+19
2022-05-02Merge 5.18-rc5 into driver-core-nextGreg Kroah-Hartman1-1/+6
2022-04-27kernfs: fix NULL dereferencing in kernfs_removeMinchan Kim1-1/+6
2022-04-27kernfs: Remove reference counting for kernfs_open_node.Imran Khan1-14/+9
2022-04-01Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-6/+1
2022-03-18kernfs: fix typos in commentsJulia Lawall1-1/+1
2022-02-23kernfs: move struct kernfs_root out of the public view.Greg Kroah-Hartman2-0/+27
2022-02-22kernfs: remove redundant kernfs_rwsem declaration.Imran Khan1-1/+0
2022-02-01seq_file: fix NULL pointer arithmetic warningMaíra Canal1-6/+1
2021-12-03kernfs: prevent early freeing of root nodeMinchan Kim1-1/+7
2021-11-24kernfs: switch global kernfs_rwsem lock to per-fs lockMinchan Kim5-63/+95
2021-10-18Merge 5.15-rc6 into driver-core-nextGreg Kroah-Hartman1-1/+8
2021-10-05fs/kernfs/symlink.c: replace S_IRWXUGO with 0777 on kernfs_create_link()Luis Chamberlain1-2/+1
2021-10-04kernfs: don't create a negative dentry if inactive node existsIan Kent1-1/+8
2021-09-28kernfs: also call kernfs_set_rev() for positive dentryHou Tao1-2/+7
2021-07-27kernfs: dont call d_splice_alias() under kernfs node lockIan Kent1-4/+2
2021-07-27kernfs: use i_lock to protect concurrent inode updatesIan Kent2-8/+14
2021-07-27kernfs: switch kernfs to use an rwsemIan Kent6-70/+71
2021-07-27kernfs: use VFS negative dentry cachingIan Kent1-20/+35
2021-07-27kernfs: add a revision to identify directory node changesIan Kent2-0/+21
2021-07-05Merge tag 'driver-core-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-43/+43
2021-06-29fs: move ramfs_aops to libfsChristoph Hellwig1-7/+1
2021-06-15kernfs: move revalidate to be near lookupIan Kent1-43/+43
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds3-12/+22
2021-01-24fs: make helpers idmap mount awareChristian Brauner3-8/+16
2021-01-24stat: handle idmapped mountsChristian Brauner1-1/+1
2021-01-24acl: handle idmapped mountsChristian Brauner1-0/+2
2021-01-24attr: handle idmapped mountsChristian Brauner1-2/+2
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-1/+1
2021-01-21kernfs: wire up ->splice_read and ->splice_writeChristoph Hellwig1-0/+2
2021-01-21kernfs: implement ->write_iterChristoph Hellwig1-18/+10
2021-01-21kernfs: implement ->read_iterChristoph Hellwig1-23/+12
2020-12-09fs/kernfs: remove the double check of dentry->inodeHui Su1-2/+1
2020-11-09kernfs: bring names in comments in line with codeWillem de Bruijn1-1/+1
2020-07-27fsnotify: pass dir and inode arguments to fsnotify()Amir Goldstein1-2/+3
2020-07-27fsnotify: create helper fsnotify_inode()Amir Goldstein1-4/+2
2020-07-27fsnotify: send event to parent and child with single callbackAmir Goldstein1-4/+6
2020-07-15kernfs: do not call fsnotify() with name without a parentAmir Goldstein1-1/+1
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-2/+2
2020-04-23kernfs: Change kernfs_node lockdep name to "kn->active"Waiman Long1-1/+1
2020-03-16kernfs: Add option to enable user xattrsDaniel Xu2-0/+91
2020-03-16kernfs: Add removed_size out param for simple_xattr_setDaniel Xu1-1/+1
2020-02-05Merge branch 'imm.timestamp' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+3
2020-01-14fs/kernfs/dir.c: Clean code by removing always true conditionMateusz Nosek1-1/+1
2019-12-08kernfs: don't bother with timestamp truncationAl Viro1-3/+3
2019-12-06Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-1/+1
2019-11-26Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-2/+2
2019-11-15new helper: lookup_positive_unlocked()Al Viro1-1/+1
2019-11-12kernfs: use 64bit inos if ino_t is 64bitTejun Heo2-16/+33
2019-11-12kernfs: implement custom exportfs ops and fid typeTejun Heo1-16/+61
2019-11-12kernfs: combine ino/id lookup functions into kernfs_find_and_get_node_by_id()Tejun Heo3-30/+15
2019-11-12kernfs: convert kernfs_node->id from union kernfs_node_id to u64Tejun Heo4-13/+12
2019-11-12kernfs: kernfs_find_and_get_node_by_ino() should only look up activated nodesTejun Heo1-1/+7
2019-11-12kernfs: use dumber locking for kernfs_find_and_get_node_by_ino()Tejun Heo2-46/+10
2019-11-12kernfs: fix ino wrap-around detectionTejun Heo1-3/+2
2019-10-09locking/lockdep: Remove unused @nested argument from lock_release()Qian Cai1-2/+2
2019-09-19Merge tag 'y2038-vfs' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/p...Linus Torvalds1-4/+3
2019-08-30timestamp_truncate: Replace users of timespec64_truncDeepa Dinamani1-4/+3
2019-07-25fs: kernfs: Fix possible null-pointer dereferences in kernfs_path_from_node_l...Jia-Ju Bai1-2/+4
2019-07-25kernfs: fix potential null pointer dereferencePeng Wang1-2/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 428Thomas Gleixner6-12/+6
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner2-0/+2
2019-05-07Merge branch 'work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-2/+4
2019-05-07Merge tag 'selinux-pr-20190507' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds4-116/+82
2019-04-26fsnotify(): switch to passing const struct qstr * for file_nameAl Viro1-2/+4
2019-04-25kernfs: fix barrier usage in __kernfs_new_node()Andrea Parri1-3/+2
2019-04-04kernfs: fix xattr name handling in LSM helpersOndrej Mosnacek1-41/+21
2019-03-20kernfs: initialize security of newly created nodesOndrej Mosnacek1-2/+9
2019-03-20LSM: add new hook for kernfs node initializationOndrej Mosnacek1-9/+39
2019-03-20kernfs: use simple_xattrs for security attributesOndrej Mosnacek3-58/+2
2019-03-20kernfs: do not alloc iattrs in kernfs_xattr_getOndrej Mosnacek1-4/+14
2019-03-20kernfs: clean up struct kernfs_iattrsOndrej Mosnacek4-36/+31
2019-03-12Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds2-82/+38
2019-03-06Merge tag 'driver-core-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds4-4/+9
2019-03-05fs: kernfs: add poll file operationJohannes Weiner1-11/+20
2019-02-28kernfs, sysfs, cgroup, intel_rdt: Support fs_contextDavid Howells2-52/+38
2019-02-08kernfs: Allocating memory for kernfs_iattrs with kmem_cache.Ayush Mittal4-4/+9
2019-01-17kill kernfs_pin_sb()Al Viro1-30/+0
2019-01-17fix cgroup_do_mount() handling of failure exitsAl Viro1-2/+6
2018-11-27kernfs: Improve kernfs_notify() poll notification latencyRadu Rendec1-12/+11
2018-10-26mm: zero-seek shrinkersJohannes Weiner1-0/+3
2018-09-16kernfs: Fix range checks in kernfs_get_target_pathBernd Edlinger1-1/+4
2018-08-18Merge tag 'driver-core-4.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2018-07-20kernfs: allow creating kernfs objects with arbitrary uid/gidDmitry Torokhov5-7/+45
2018-07-07kernfs: Replace strncpy with memcpyGuenter Roeck1-1/+1
2018-06-15Merge tag 'vfs-timespec64' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds2-6/+6
2018-06-14Merge branch 'vfs_timespec64' of https://github.com/deepa-hub/vfs into vfs-ti...Arnd Bergmann2-6/+6
2018-06-05vfs: change inode times to use struct timespec64Deepa Dinamani2-6/+6
2018-06-05Merge tag 'driver-core-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+4
2018-05-21kernfs: deal with kernfs_fill_super() failuresAl Viro1-0/+1
2018-04-23fs: kernfs: Adding new return type vm_fault_tSouptick Joarder1-4/+4
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-2/+2
2018-02-09Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2018-01-19kernfs: fix regression in kernfs_fop_write caused by wrong typeIvan Vecera1-1/+1
2017-11-27fs: annotate ->poll() instancesAl Viro1-1/+1
2017-11-27Rename superblock flags (MS_xyz -> SB_xyz)Linus Torvalds1-1/+1
2017-09-07Merge branch 'for-4.14/block' of git://git.kernel.dk/linux-blockLinus Torvalds6-42/+197
2017-09-01kernfs: checking for IS_ERR() instead of NULLDan Carpenter1-2/+2
2017-08-28kernfs: Clarify lockdep name for kn->countWaiman Long1-1/+1
2017-07-29blktrace: add an option to allow displaying cgroup pathShaohua Li1-0/+19
2017-07-29kernfs: add exportfs operationsShaohua Li1-0/+56
2017-07-29kernfs: introduce kernfs_node_idShaohua Li3-9/+9
2017-07-29kernfs: don't set dentry->d_fsdataShaohua Li6-31/+27
2017-07-29kernfs: add an API to get kernfs node from inode numberShaohua Li3-1/+69
2017-07-29kernfs: implement i_generationShaohua Li2-1/+10
2017-07-29kernfs: use idr instead of ida to manage inode numberShaohua Li1-5/+12
2017-03-17kernfs: Check KERNFS_HAS_RELEASE before calling kernfs_release_file()Vaibhav Jain1-1/+2
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2-6/+6
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells2-6/+6
2017-03-02sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linu...Ingo Molnar1-1/+1
2017-02-27Merge branch 'for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds3-9/+57
2017-02-24mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmfDave Jiang1-7/+6
2017-02-21kernfs: fix locking around kernfs_ops->release() callbackTejun Heo1-5/+14
2017-02-10kernfs: handle null pointers while printing node name and pathKonstantin Khlebnikov1-0/+10
2016-12-27kernfs: add kernfs_ops->open/release() callbacksTejun Heo3-8/+47
2016-12-27kernfs: make kernfs_open_file->mmapped a bitfieldTejun Heo1-1/+1
2016-12-17Merge uncontroversial parts of branch 'readlink' of git://git.kernel.org/pub/...Linus Torvalds1-1/+0
2016-12-09vfs: remove ".readlink = generic_readlink" assignmentsMiklos Szeredi1-1/+0
2016-11-29kernfs: Declare two local data structures staticBart Van Assche1-2/+2
2016-10-27kernfs: Add noop_fsync to supported kernfs_file_fopsTony Luck1-0/+1
2016-10-14Merge branch 'for-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cg...Linus Torvalds1-67/+17
2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds2-2/+6
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 Torvalds5-86/+83
2016-10-08Merge remote-tracking branch 'jk/vfs' into work.miscAl Viro1-1/+1
2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher3-9/+0
2016-10-06kernfs: Switch to generic xattr handlersAndreas Gruenbacher5-86/+92
2016-09-27fs: Replace current_fs_time() with current_time()Deepa Dinamani1-1/+1
2016-09-27fs: rename "rename2" i_op to "rename"Miklos Szeredi1-1/+1