summaryrefslogtreecommitdiff
path: root/fs/ceph/locks.c
AgeCommit message (Expand)AuthorFilesLines
2023-01-02ceph: avoid use-after-free in ceph_fl_release_lock()Xiubo Li1-2/+18
2023-01-02ceph: switch to vfs_inode_has_locks() to fix file lock bugXiubo Li1-4/+0
2022-11-30ceph: use locks_inode_context helperJeff Layton1-2/+2
2022-03-01ceph: eliminate req->r_wait_for_completion from ceph_mds_requestJeff Layton1-4/+4
2021-11-13Merge tag 'ceph-for-5.16-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-0/+6
2021-11-08ceph: shut down access to inode when async create failsJeff Layton1-0/+6
2021-09-10locks: remove LOCK_MAND flock lock supportJeff Layton1-3/+0
2021-08-23fs: remove mandatory file locking supportJeff Layton1-3/+0
2020-12-15ceph: fix up some warnings on W=1 buildsJeff Layton1-4/+4
2020-10-12ceph: add ceph_sb_to_mdsc helper support to parse the mdscXiubo Li1-1/+1
2020-03-30ceph: check if file lock exists before sending unlock requestYan, Zheng1-2/+29
2019-09-16ceph: return -EIO if read/write against filp that lost file locksYan, Zheng1-2/+6
2019-08-22ceph: don't try fill file_lock on unsuccessful GETFILELOCK replyJeff Layton1-2/+1
2019-05-07ceph: remove duplicated filelock ref increaseZhi Zhang1-13/+0
2018-04-02ceph: add newline to end of debug message formatChengguang Xu1-10/+10
2017-11-13ceph: handle 'session get evicted while there are file locks'Yan, Zheng1-12/+40
2017-11-13ceph: optimize flock encoding during reconnectYan, Zheng1-7/+10
2017-11-13ceph: make lock_to_ceph_filelock() staticYan, Zheng1-31/+31
2017-11-13ceph: keep auth cap when inode has flocks or posix locksYan, Zheng1-9/+53
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-07-16fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locksBenjamin Coddington1-1/+1
2017-07-07ceph: don't re-send interrupted flock requestYan, Zheng1-1/+24
2016-10-03ceph: fix mandatory flock checkYan, Zheng1-2/+2
2015-10-22Move locks API users to locks_lock_inode_wait()Benjamin Coddington1-2/+2
2015-07-31ceph: fix ceph_encode_locks_to_buffer()Yan, Zheng1-1/+1
2015-02-16Revert "locks: keep a count of locks on the flctx lists"Jeff Layton1-2/+7
2015-01-17locks: keep a count of locks on the flctx listsJeff Layton1-9/+2
2015-01-17locks: add a dedicated spinlock to protect i_flctx listsJeff Layton1-4/+4
2015-01-17locks: convert posix locks to file_lock_contextJeff Layton1-32/+26
2015-01-16locks: move flock locks to file_lock_contextJeff Layton1-7/+16
2015-01-16ceph: move spinlocking into ceph_encode_locks_to_buffer and ceph_count_locksJeff Layton1-0/+4
2014-12-17ceph: fix file lock interruptionYan, Zheng1-10/+54
2014-06-02locks: ensure that fl_owner is always initialized properly in flock and lease...Jeff Layton1-8/+2
2014-04-28ceph: reserve caps for file layout/lock MDS requestsYan, Zheng1-0/+1
2014-04-05ceph: use fl->fl_file as owner identifier of flock and posix lockYan, Zheng1-20/+41
2014-04-05ceph: forbid mandatory file lockYan, Zheng1-0/+12
2014-04-05ceph: use fl->fl_type to decide flock operationYan, Zheng1-12/+9
2013-07-09Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag...Linus Torvalds1-1/+1
2013-07-01ceph: fix up comment for ceph_count_locks() as to which lock to holdJim Schutt1-1/+1
2013-06-29locks: protect most of the file_lock handling with i_lockJeff Layton1-1/+1
2013-05-17ceph: ceph_pagelist_append might sleep while atomicJim Schutt1-29/+47
2013-05-17ceph: add cpu_to_le32() calls when encoding a reconnect capabilityJim Schutt1-2/+5
2013-02-23new helper: file_inode(file)Al Viro1-1/+1
2011-06-08ceph: unwind canceled flock stateSage Weil1-10/+16
2011-06-08ceph: use ihold when we already have an inode refSage Weil1-1/+2
2010-12-02ceph: Behave better when handling file lock replies.Herb Shiu1-8/+30
2010-12-02ceph: pass lock information by struct file_lock instead of as individual params.Herb Shiu1-37/+21
2010-10-21ceph: preallocate flock state without locks heldGreg Farnum1-2/+15
2010-10-21ceph: factor out libceph from Ceph file systemYehuda Sadeh1-3/+3
2010-08-25ceph: Fix warningsAlan Cox1-5/+9