summaryrefslogtreecommitdiffstats
path: root/fs/file.c
AgeCommit message (Expand)AuthorLines
2025-08-11fs: always return zero on success from replace_fd()Thomas Weißschuh-1/+4
2025-07-28Merge tag 'vfs-6.17-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds-0/+15
2025-07-08fs: Prevent file descriptor table allocations exceeding INT_MAXSasha Levin-0/+15
2025-06-16fs: drop assert in file_seek_cur_needs_f_lockLuis Henriques-2/+6
2025-04-22fs: fall back to file_ref_put() for non-last referenceMateusz Guzik-1/+1
2025-03-24Merge tag 'vfs-6.15-rc1.file' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds-21/+31
2025-03-20fs: sort out fd allocation vs dup2 race commentary, take 2Mateusz Guzik-14/+26
2025-03-20fs: reduce work in fdget_pos()Mateusz Guzik-3/+8
2025-03-18fs: consistently deref the files table with rcu_dereference_raw()Mateusz Guzik-9/+17
2025-03-13fs: use debug-only asserts around fd allocation and installMateusz Guzik-2/+3
2025-03-05file: add fput and file_ref_put routines optimized for use when closing a fdMateusz Guzik-18/+23
2025-02-21fs: don't needlessly acquire f_lockChristian Brauner-0/+10
2025-01-20Merge tag 'vfs-6.14-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds-15/+7
2024-12-22fs: sort out a stale comment about races between fd alloc and dup2Mateusz Guzik-11/+3
2024-12-17fs: fix missing declaration of init_filesZhang Kunbo-0/+1
2024-12-02fs: delay sysctl_nr_open check in expand_files()Mateusz Guzik-4/+4
2024-11-18Merge tag 'vfs-6.13.file' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds-133/+148
2024-10-30Merge branch 'work.fdtable' into vfs.fileChristian Brauner-126/+78
2024-10-30fs: port files to file_refChristian Brauner-7/+7
2024-10-19fs: add file_refChristian Brauner-0/+63
2024-10-09expand_files(): simplify calling conventionsAl Viro-15/+8
2024-10-09make __set_open_fd() set cloexec state as wellAl Viro-5/+4
2024-10-08Merge patch series "File abstractions needed by Rust Binder"Christian Brauner-0/+7
2024-10-07file.c: merge __{set,clear}_close_on_exec()Al Viro-22/+11
2024-10-07alloc_fdtable(): change calling conventions.Al Viro-46/+29
2024-10-07fs/file.c: add fast path in find_next_fd()Yu Ma-0/+9
2024-10-07fs/file.c: conditionally clear full_fdsYu Ma-1/+3
2024-10-07fs/file.c: remove sanity_check and add likely/unlikely in alloc_fd()Yu Ma-19/+14
2024-10-07move close_range(2) into fs/file.c, fold __close_range() into itAl Viro-2/+4
2024-10-07close_files(): don't bother with xchg()Al Viro-1/+1
2024-10-07get rid of ...lookup...fdget_rcu() familyAl Viro-24/+4
2024-09-30rust: file: add Rust abstraction for `struct file`Wedson Almeida Filho-0/+7
2024-09-29close_range(): fix the logics in descriptor table trimmingAl Viro-61/+34
2024-09-23Merge tag 'pull-stable-struct_fd' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds-13/+13
2024-08-30file: remove outdated comment after close_fd()Joel Savitz-1/+1
2024-08-12add struct fd constructors, get rid of __to_fd()Al Viro-13/+13
2024-08-05fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHAREAl Viro-17/+13
2024-08-01protect the fetch of ->fd[fd] in do_dup2() from mispredictionsAl Viro-0/+1
2024-05-30fs/file: fix the check in find_next_fd()Yuntao Wang-2/+2
2024-04-15get_file_rcu(): no need to check for NULL separatelyAl Viro-7/+2
2024-04-15fd_is_open(): move to fs/file.cAl Viro-0/+5
2024-04-15close_on_exec(): pass files_struct instead of fdtableAl Viro-4/+1
2023-12-12file: remove __receive_fd()Christian Brauner-8/+3
2023-12-12file: remove pointless wrapperChristian Brauner-14/+9
2023-12-12file: s/close_fd_get_file()/file_close_fd()/gChristian Brauner-5/+9
2023-12-12Improve __fget_files_rcu() code generation (and thus __fget_light())Linus Torvalds-18/+33
2023-10-25file, i915: fix file reference for mmap_singleton()Christian Brauner-0/+25
2023-10-19backing file: free directlyChristian Brauner-0/+3
2023-10-19file: convert to SLAB_TYPESAFE_BY_RCUChristian Brauner-18/+107
2023-08-28Merge tag 'v6.6-vfs.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds-14/+16