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