index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
fs
/
locks.c
Age
Commit message (
Expand
)
Author
Files
Lines
2024-02-20
filelock: fix deadlock detection in POSIX locking
Jeff Layton
1
-1
/
+1
2024-02-05
filelock: don't do security checks on nfsd setlease calls
Jeff Layton
1
-18
/
+25
2024-02-05
filelock: split leases out of struct file_lock
Jeff Layton
1
-43
/
+80
2024-02-05
filelock: convert seqfile handling to use file_lock_core
Jeff Layton
1
-36
/
+36
2024-02-05
filelock: convert locks_translate_pid to take file_lock_core
Jeff Layton
1
-10
/
+10
2024-02-05
filelock: convert locks_insert_lock_ctx and locks_delete_lock_ctx
Jeff Layton
1
-22
/
+22
2024-02-05
filelock: convert locks_wake_up_blocks to take a file_lock_core pointer
Jeff Layton
1
-7
/
+7
2024-02-05
filelock: make assign_type helper take a file_lock_core pointer
Jeff Layton
1
-5
/
+5
2024-02-05
filelock: reorganize locks_delete_block and __locks_insert_block
Jeff Layton
1
-20
/
+22
2024-02-05
filelock: clean up locks_delete_block internals
Jeff Layton
1
-7
/
+8
2024-02-05
filelock: convert fl_blocker to file_lock_core
Jeff Layton
1
-8
/
+8
2024-02-05
filelock: convert __locks_insert_block, conflict and deadlock checks to use f...
Jeff Layton
1
-60
/
+72
2024-02-05
filelock: make __locks_delete_block and __locks_wake_up_blocks take file_lock...
Jeff Layton
1
-18
/
+27
2024-02-05
filelock: convert locks_{insert,delete}_global_blocked
Jeff Layton
1
-7
/
+6
2024-02-05
filelock: make locks_{insert,delete}_global_locks take file_lock_core arg
Jeff Layton
1
-9
/
+9
2024-02-05
filelock: convert posix_owner_key to take file_lock_core arg
Jeff Layton
1
-4
/
+4
2024-02-05
filelock: make posix_same_owner take file_lock_core pointers
Jeff Layton
1
-8
/
+8
2024-02-05
filelock: convert more internal functions to use file_lock_core
Jeff Layton
1
-26
/
+25
2024-02-05
filelock: have fs/locks.c deal with file_lock_core directly
Jeff Layton
1
-229
/
+238
2024-02-05
filelock: split common fields into struct file_lock_core
Jeff Layton
1
-0
/
+1
2024-02-05
filelock: drop the IS_* macros
Jeff Layton
1
-17
/
+15
2024-02-05
filelock: add some new helper functions
Jeff Layton
1
-9
/
+9
2024-02-02
filelock: rename fl_pid variable in lock_get_status
Jeff Layton
1
-4
/
+4
2023-12-28
fs: Remove the now superfluous sentinel elements from ctl_table array
Joel Granados
1
-1
/
+0
2023-11-02
Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...
Linus Torvalds
1
-2
/
+2
2023-10-18
treewide: mark stuff as __ro_after_init
Alexey Dobriyan
1
-2
/
+2
2023-10-16
lockd: add doc to enable EXPORT_OP_ASYNC_LOCK
Alexander Aring
1
-5
/
+7
2023-08-31
Merge tag 'nfsd-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
Linus Torvalds
1
-7
/
+0
2023-08-29
locks: allow support for write delegation
Dai Ngo
1
-7
/
+0
2023-08-28
Merge tag 'filelock-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/jl...
Linus Torvalds
1
-5
/
+22
2023-08-24
locks: fix KASAN: use-after-free in trace_event_raw_event_filelock_lock
Will Shiu
1
-1
/
+1
2023-08-24
fs/locks: Fix typo
Jakub Wilk
1
-1
/
+1
2023-07-10
fs: Pass argument to fcntl_setlease as int
Luca Vizzarro
1
-10
/
+10
2023-06-27
fs/locks: F_UNLCK extension for F_OFD_GETLK
Stas Sergeev
1
-3
/
+20
2023-03-09
filelocks: use mount idmapping for setlease permission check
Seth Forshee
1
-1
/
+2
2023-03-09
fs/locks: Remove redundant assignment to cmd
Jiapeng Chong
1
-1
/
+0
2023-02-21
Merge tag 'rcu.2023.02.10a' of git://git.kernel.org/pub/scm/linux/kernel/git/...
Linus Torvalds
1
-25
/
+0
2023-02-02
fs: Remove CONFIG_SRCU
Paul E. McKenney
1
-25
/
+0
2023-01-11
fs: remove locks_inode
Jeff Layton
1
-14
/
+14
2023-01-11
filelock: move file locking definitions to separate header file
Jeff Layton
1
-0
/
+1
2022-11-30
Add process name and pid to locks warning
Andi Kleen
1
-1
/
+1
2022-11-30
filelock: add a new locks_inode_context accessor function
Jeff Layton
1
-12
/
+12
2022-11-30
filelock: new helper: vfs_inode_has_locks
Jeff Layton
1
-0
/
+23
2022-11-17
filelock: WARN_ON_ONCE when ->fl_file and filp don't match
Jeff Layton
1
-0
/
+3
2022-08-17
locks: Fix dropped call to ->fl_release_private()
David Howells
1
-0
/
+1
2022-07-18
fs/lock: Rearrange ops in flock syscall.
Kuniyuki Iwashima
1
-24
/
+19
2022-07-18
fs/lock: Don't allocate file_lock in flock_make_lock().
Kuniyuki Iwashima
1
-31
/
+15
2022-05-19
fs/lock: add 2 callbacks to lock_manager_operations to resolve conflict
Dai Ngo
1
-3
/
+30
2022-05-19
fs/lock: add helper locks_owner_has_blockers to check for blockers
Dai Ngo
1
-0
/
+28
2022-01-22
fs: move locking sysctls where they are used
Luis Chamberlain
1
-2
/
+32
2021-10-19
locks: remove changelog comments
J. Bruce Fields
1
-110
/
+4
2021-09-10
locks: remove LOCK_MAND flock lock support
Jeff Layton
1
-25
/
+22
2021-09-07
Revert "memcg: enable accounting for file lock caches"
Linus Torvalds
1
-4
/
+2
2021-09-03
Merge branch 'akpm' (patches from Andrew)
Linus Torvalds
1
-2
/
+4
2021-09-03
memcg: enable accounting for file lock caches
Vasily Averin
1
-2
/
+4
2021-08-23
fs: remove mandatory file locking support
Jeff Layton
1
-116
/
+1
2021-05-05
Merge tag 'nfsd-5.13-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/...
Linus Torvalds
1
-0
/
+3
2021-04-26
Merge tag 'locks-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/jlay...
Linus Torvalds
1
-10
/
+56
2021-04-19
nfsd: grant read delegations to clients holding writes
J. Bruce Fields
1
-0
/
+3
2021-04-13
fs/locks: remove useless assignment in fcntl_getlk
Tian Tao
1
-1
/
+0
2021-03-11
fs/locks: print full locks information
Luo Longjun
1
-9
/
+56
2021-03-09
Revert "nfsd4: a client's own opens needn't prevent delegations"
J. Bruce Fields
1
-3
/
+0
2020-12-15
Merge branch 'exec-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...
Linus Torvalds
1
-6
/
+8
2020-12-10
file: Factor files_lookup_fd_locked out of fcheck_files
Eric W. Biederman
1
-6
/
+8
2020-10-26
locks: fix a typo at a kernel-doc markup
Mauro Carvalho Chehab
1
-1
/
+1
2020-10-26
locks: Fix UBSAN undefined behaviour in flock64_to_posix_lock
Luo Meng
1
-1
/
+1
2020-08-23
treewide: Use fallthrough pseudo-keyword
Gustavo A. R. Silva
1
-3
/
+3
2020-08-09
Merge tag 'nfsd-5.9' of git://git.linux-nfs.org/projects/cel/cel-2.6
Linus Torvalds
1
-0
/
+3
2020-08-03
Merge tag 'filelock-v5.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...
Linus Torvalds
1
-0
/
+1
2020-07-13
nfsd4: a client's own opens needn't prevent delegations
J. Bruce Fields
1
-0
/
+3
2020-06-11
Merge tag 'nfsd-5.8' of git://linux-nfs.org/~bfields/linux
Linus Torvalds
1
-0
/
+3
2020-06-04
Merge branch 'proc-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...
Linus Torvalds
1
-2
/
+2
2020-06-02
locks: add locks_move_blocks in posix_lock_inode
yangerkun
1
-0
/
+1
2020-05-19
proc: proc_pid_ns takes super_block as an argument
Alexey Gladkov
1
-2
/
+2
2020-05-08
nfsd: clients don't need to break their own delegations
J. Bruce Fields
1
-0
/
+3
2020-05-05
docs: filesystems: convert mandatory-locking.txt to ReST
Mauro Carvalho Chehab
1
-1
/
+1
2020-04-24
Use proc_pid_ns() to get pid_namespace from the proc superblock
Alexey Gladkov
1
-2
/
+2
2020-03-18
locks: reinstate locks_delete_block optimization
Linus Torvalds
1
-6
/
+48
2020-03-06
locks: fix a potential use-after-free problem when wakeup a waiter
yangerkun
1
-14
/
+0
2019-12-29
locks: print unsigned ino in /proc/locks
Amir Goldstein
1
-1
/
+1
2019-09-27
Merge tag 'nfsd-5.4' of git://linux-nfs.org/~bfields/linux
Linus Torvalds
1
-0
/
+62
2019-08-20
locks: fix a memory leak bug in __break_lease()
Wenwen Wang
1
-1
/
+2
2019-08-19
nfsd: convert fi_deleg_file and ls_file fields to nfsd_file
Jeff Layton
1
-0
/
+1
2019-08-19
locks: create a new notifier chain for lease attempts
Jeff Layton
1
-0
/
+61
2019-07-25
locks: Fix procfs output for file leases
Pavel Begunkov
1
-4
/
+4
2019-07-10
Merge tag 'nfsd-5.3' of git://linux-nfs.org/~bfields/linux
Linus Torvalds
1
-5
/
+0
2019-07-03
locks: Cleanup lm_compare_owner and lm_owner_key
Benjamin Coddington
1
-5
/
+0
2019-06-19
locks: eliminate false positive conflicts for write lease
Amir Goldstein
1
-15
/
+27
2019-06-19
locks: Add trace_leases_conflict
Ira Weiny
1
-5
/
+15
2019-05-21
treewide: Add SPDX license identifier for missed files
Thomas Gleixner
1
-0
/
+1
2019-05-15
Merge tag 'nfsd-5.2' of git://linux-nfs.org/~bfields/linux
Linus Torvalds
1
-6
/
+6
2019-05-07
Merge tag 'Wimplicit-fallthrough-5.2-rc1' of git://git.kernel.org/pub/scm/lin...
Linus Torvalds
1
-1
/
+1
2019-04-24
locks: move checks from locks_free_lock() to locks_release_private()
NeilBrown
1
-6
/
+6
2019-04-08
fs: mark expected switch fall-throughs
Gustavo A. R. Silva
1
-1
/
+1
2019-03-25
locks: wake any locks blocked on request before deadlock check
Jeff Layton
1
-0
/
+5
2019-02-28
locking/percpu-rwsem: Remove preempt_disable variants
Peter Zijlstra
1
-16
/
+16
2019-01-02
locks: fix error in locks_move_blocks()
NeilBrown
1
-1
/
+1
2018-12-17
locks: Use inode_is_open_for_write
Nikolay Borisov
1
-1
/
+1
2018-12-07
fs/locks: remove unnecessary white space.
NeilBrown
1
-21
/
+12
2018-12-07
fs/locks: merge posix_unblock_lock() and locks_delete_block()
NeilBrown
1
-24
/
+14
2018-12-07
fs/locks: create a tree of dependent requests.
NeilBrown
1
-6
/
+63
2018-12-07
fs/locks: change all *_conflict() functions to return bool.
NeilBrown
1
-12
/
+15
2018-12-07
fs/locks: always delete_block after waiting.
NeilBrown
1
-16
/
+24
2018-11-30
fs/locks: allow a lock request to block other requests.
NeilBrown
1
-6
/
+37
2018-11-30
fs/locks: use properly initialized file_lock when unlocking.
NeilBrown
1
-14
/
+14
2018-11-30
fs/locks: split out __locks_wake_up_blocks().
NeilBrown
1
-11
/
+16
2018-11-30
fs/locks: rename some lists and pointers.
NeilBrown
1
-28
/
+31
2018-08-21
Merge tag 'ovl-update-4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/...
Linus Torvalds
1
-13
/
+7
2018-08-21
Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-1
/
+1
2018-08-13
Merge tag 'locks-v4.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jl...
Linus Torvalds
1
-9
/
+11
2018-08-08
locks: remove misleading obsolete comment
Jeff Layton
1
-4
/
+0
2018-08-06
locks: add tracepoint in flock codepath
Jeff Layton
1
-0
/
+1
2018-07-21
signal: Use PIDTYPE_TGID to clearly store where file signals will be sent
Eric W. Biederman
1
-1
/
+1
2018-07-18
Partially revert "locks: fix file locking on overlayfs"
Miklos Szeredi
1
-11
/
+6
2018-07-18
Revert "vfs: do get_write_access() on upper layer of overlayfs"
Miklos Szeredi
1
-2
/
+1
2018-06-15
Merge tag 'vfs-timespec64' of git://git.kernel.org/pub/scm/linux/kernel/git/a...
Linus Torvalds
1
-1
/
+1
2018-06-14
fs/lock: show locks taken by processes from another pidns
Konstantin Khorenko
1
-5
/
+3
2018-06-14
fs/lock: skip lock owner pid translation in case we are in init_pid_ns
Konstantin Khorenko
1
-0
/
+7
2018-06-05
vfs: change inode times to use struct timespec64
Deepa Dinamani
1
-1
/
+1
2018-05-16
proc: introduce proc_create_seq_private
Christoph Hellwig
1
-14
/
+2
2018-03-26
treewide: Align function definition open/close braces
Joe Perches
1
-1
/
+1
2018-02-08
Merge tag 'nfsd-4.16' of git://linux-nfs.org/~bfields/linux
Linus Torvalds
1
-4
/
+2
2018-02-08
nfsd: encode stat->mtime for getattr instead of inode->i_mtime
Amir Goldstein
1
-4
/
+2
2017-11-27
Rename superblock flags (MS_xyz -> SB_xyz)
Linus Torvalds
1
-1
/
+1
2017-07-21
locks: restore a warn for leaked locks on close
Benjamin Coddington
1
-0
/
+22
2017-07-16
fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks
Benjamin Coddington
1
-25
/
+37
2017-07-16
fs/locks: Use allocation rather than the stack in fcntl_getlk()
Benjamin Coddington
1
-20
/
+26
2017-05-27
fs/locks: pass kernel struct flock to fcntl_getlk/setlk
Christoph Hellwig
1
-57
/
+22
2017-05-27
fs: locks: Fix some troubles at kernel-doc comments
Mauro Carvalho Chehab
1
-10
/
+8
2017-04-21
locks: Set FL_CLOSE when removing flock locks on close()
Benjamin Coddington
1
-1
/
+1
2016-12-24
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
Linus Torvalds
1
-1
/
+1
2016-10-18
locking, fs/locks: Add missing file_sem locks
Peter Zijlstra
1
-0
/
+6
2016-10-10
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...
Linus Torvalds
1
-1
/
+1
2016-10-10
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...
Linus Torvalds
1
-23
/
+30
2016-10-04
Merge tag 'locks-v4.9-1' of git://git.samba.org/jlayton/linux
Linus Torvalds
1
-3
/
+18
2016-09-27
fs: Replace current_fs_time() with current_time()
Deepa Dinamani
1
-1
/
+1
2016-09-22
fs/locks: Use percpu_down_read_preempt_disable()
Peter Zijlstra
1
-12
/
+12
2016-09-22
fs/locks: Replace lg_local with a per-cpu spinlock
Peter Zijlstra
1
-18
/
+29
2016-09-22
fs/locks: Replace lg_global with a percpu-rwsem
Peter Zijlstra
1
-0
/
+21
2016-09-16
vfs: do get_write_access() on upper layer of overlayfs
Miklos Szeredi
1
-1
/
+2
2016-09-16
locks: fix file locking on overlayfs
Miklos Szeredi
1
-22
/
+28
2016-08-18
locks: Filter /proc/locks output on proc pid ns
Nikolay Borisov
1
-3
/
+18
2016-07-01
locks: use file_inode()
Miklos Szeredi
1
-1
/
+1
2016-01-22
wrappers for ->i_mutex access
Al Viro
1
-3
/
+3
2016-01-12
Merge branch 'work.copy_file_range' of git://git.kernel.org/pub/scm/linux/ker...
Linus Torvalds
1
-13
/
+9
2016-01-08
locks: rename __posix_lock_file to posix_lock_inode
Jeff Layton
1
-5
/
+6
2016-01-08
locks: prink more detail when there are leaked locks
Jeff Layton
1
-4
/
+29
2016-01-08
locks: pass inode pointer to locks_free_lock_context
Jeff Layton
1
-1
/
+3
2016-01-08
locks: sprinkle some tracepoints around the file locking code
Jeff Layton
1
-3
/
+9
2016-01-08
locks: don't check for race with close when setting OFD lock
Jeff Layton
1
-6
/
+10
2016-01-07
locks: fix unlock when fcntl_setlk races with a close
Jeff Layton
1
-21
/
+30
2015-12-18
fs: make locks.c explicitly non-modular
Paul Gortmaker
1
-2
/
+1
2015-12-07
locks: new locks_mandatory_area calling convention
Christoph Hellwig
1
-13
/
+9
2015-11-18
locks: use list_first_entry_or_null()
Geliang Tang
1
-6
/
+4
2015-11-16
locks: Allow disabling mandatory locking at compile time
Jeff Layton
1
-0
/
+2
2015-10-22
locks: cleanup posix_lock_inode_wait and flock_lock_inode_wait
Benjamin Coddington
1
-6
/
+3
2015-10-22
Move locks API users to locks_lock_inode_wait()
Benjamin Coddington
1
-1
/
+1
2015-10-22
locks: introduce locks_lock_inode_wait()
Benjamin Coddington
1
-0
/
+24
2015-10-15
locks: Use more file_inode and fix a comment
Benjamin Coddington
1
-5
/
+3
2015-09-21
fs: fix data races on inode->i_flctx
Dmitry Vyukov
1
-27
/
+36
2015-08-31
fs: fix fs/locks.c kernel-doc warning
Randy Dunlap
1
-0
/
+1
2015-07-13
locks: inline posix_lock_file_wait and flock_lock_file_wait
Jeff Layton
1
-28
/
+0
2015-07-13
locks: new helpers - flock_lock_inode_wait and posix_lock_inode_wait
Jeff Layton
1
-12
/
+38
2015-07-13
locks: have flock_lock_file take an inode pointer instead of a filp
Jeff Layton
1
-6
/
+6
2015-04-17
proc: show locks in /proc/pid/fdinfo/X
Andrey Vagin
1
-0
/
+38
2015-04-03
locks: use cmpxchg to assign i_flctx pointer
Jeff Layton
1
-8
/
+1
2015-04-03
locks: get rid of WE_CAN_BREAK_LSLK_NOW dead code
Jeff Layton
1
-6
/
+1
2015-04-03
locks: change lm_get_owner and lm_put_owner prototypes
Jeff Layton
1
-3
/
+5
2015-04-03
locks: don't allocate a lock context for an F_UNLCK request
Jeff Layton
1
-8
/
+12
2015-04-03
locks: Add lockdep assertion for blocked_lock_lock
Daniel Wagner
1
-0
/
+6
2015-04-03
locks: remove extraneous IS_POSIX and IS_FLOCK tests
Jeff Layton
1
-2
/
+2
2015-04-03
locks: Remove unnecessary IS_POSIX test
Daniel Wagner
1
-2
/
+0
2015-03-27
locks: fix file_lock deletion inside loop
Yan, Zheng
1
-3
/
+2
2015-03-14
locks: fix generic_delete_lease tracepoint to use victim pointer
Jeff Layton
1
-1
/
+1
2015-03-04
locks: fix fasync_struct memory leak in lease upgrade/downgrade handling
Jeff Layton
1
-1
/
+2
2015-02-17
locks: fix list insertion when lock is split in two
Jeff Layton
1
-0
/
+1
2015-02-17
locks: remove conditional lock release in middle of flock_lock_file
Jeff Layton
1
-10
/
+0
2015-02-17
locks: only remove leases associated with the file being closed
Jeff Layton
1
-1
/
+2
2015-02-16
Revert "locks: keep a count of locks on the flctx lists"
Jeff Layton
1
-29
/
+16
2015-02-02
fs: add FL_LAYOUT lease type
Christoph Hellwig
1
-4
/
+10
2015-02-02
fs: track fl_owner for leases
Christoph Hellwig
1
-5
/
+7
2015-01-21
locks: update comments that refer to inode->i_flock
Jeff Layton
1
-1
/
+1
2015-01-16
locks: consolidate NULL i_flctx checks in locks_remove_file
Jeff Layton
1
-2
/
+7
2015-01-16
locks: keep a count of locks on the flctx lists
Jeff Layton
1
-16
/
+29
2015-01-16
locks: clean up the lm_change prototype
Jeff Layton
1
-7
/
+6
2015-01-16
locks: add a dedicated spinlock to protect i_flctx lists
Jeff Layton
1
-43
/
+44
2015-01-16
locks: convert lease handling to file_lock_context
Jeff Layton
1
-153
/
+99
2015-01-16
locks: convert posix locks to file_lock_context
Jeff Layton
1
-51
/
+57
2015-01-16
locks: move flock locks to file_lock_context
Jeff Layton
1
-19
/
+35
2015-01-16
locks: add a new struct file_locking_context pointer to struct inode
Jeff Layton
1
-0
/
+44
2015-01-16
locks: have locks_release_file use flock_lock_file to release generic flock l...
Jeff Layton
1
-18
/
+31
2015-01-16
locks: add new struct list_head to struct file_lock
Jeff Layton
1
-3
/
+5
2015-01-13
locks: fix NULL-deref in generic_delete_lease
NeilBrown
1
-1
/
+1
2014-10-07
locks: flock_make_lock should return a struct file_lock (or PTR_ERR)
Jeff Layton
1
-8
/
+11
2014-10-07
locks: set fl_owner for leases to filp instead of current->files
Jeff Layton
1
-1
/
+1
2014-10-07
locks: give lm_break a return value
Jeff Layton
1
-4
/
+13
2014-10-07
locks: __break_lease cleanup in preparation of allowing direct removal of leases
Jeff Layton
1
-24
/
+25
2014-10-07
locks: remove i_have_this_lease check from __break_lease
Jeff Layton
1
-4
/
+2
2014-10-07
locks: move freeing of leases outside of i_lock
Jeff Layton
1
-12
/
+22
2014-10-07
locks: move i_lock acquisition into generic_*_lease handlers
Jeff Layton
1
-12
/
+9
[next]