aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd
AgeCommit message (Expand)AuthorFilesLines
2024-03-12Merge tag 'nfsd-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-3/+0
2024-03-01nfsd: stop setting ->pg_stats for unused statsJosef Bacik1-3/+0
2024-02-05lockd: adapt to breakup of struct file_lockJeff Layton10-109/+115
2024-02-05filelock: split common fields into struct file_lock_coreJeff Layton1-0/+1
2024-02-05lockd: convert to using new filelock helpersJeff Layton2-13/+13
2024-01-10Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+0
2024-01-07SUNRPC: discard sv_refcnt, and svc_get/svc_putNeilBrown1-6/+4
2023-12-28fs: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-1/+0
2023-10-16SUNRPC: change how svc threads are asked to exit.NeilBrown2-6/+4
2023-10-16lockd: hold a reference to nlmsvc_serv while stopping the thread.NeilBrown1-0/+2
2023-10-16lockd: fix race in async lock request handlingAlexander Aring1-3/+8
2023-10-16lockd: don't call vfs_lock_file() for pending requestsAlexander Aring1-7/+16
2023-10-16lockd: introduce safe async lock opAlexander Aring1-3/+1
2023-08-29SUNRPC: Add enum svc_auth_statusChuck Lever1-1/+1
2023-08-29SUNRPC: remove timeout arg from svc_recv()NeilBrown2-7/+12
2023-08-29SUNRPC: change svc_recv() to return void.NeilBrown1-8/+1
2023-08-29SUNRPC: call svc_process() from svc_recv().NeilBrown1-5/+0
2023-08-29lockd: remove SIGKILL handlingNeilBrown1-24/+0
2023-08-29fs: lockd: avoid possible wrong NULL parameterSu Hui1-0/+3
2023-08-29lockd: nlm_blocked list race fixesAlexander Aring1-1/+12
2023-07-01Merge tag 'nfs-for-6.5-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-0/+6
2023-06-19NFS: add a sysfs link to the lockd rpc_clientBenjamin Coddington1-0/+6
2023-06-12lockd: drop inappropriate svc_get() from locked_get()NeilBrown1-1/+0
2023-05-17Merge tag 'nfsd-6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-1/+1
2023-05-02lockd: define nlm_port_min,max with CONFIG_SYSCTLTom Rix1-1/+1
2023-04-29Merge tag 'nfsd-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds7-49/+188
2023-04-26lockd: add some client-side tracepointsJeff Layton5-2/+131
2023-04-26lockd: server should unlock lock if client rejects the grantJeff Layton1-4/+17
2023-04-26lockd: fix races in client GRANTED_MSG wait logicJeff Layton2-31/+39
2023-04-26lockd: move struct nlm_wait to lockd.hJeff Layton1-12/+0
2023-04-26lockd: purge resources held on behalf of nlm clients when shutting downJeff Layton1-0/+1
2023-04-13lockd: simplify two-level sysctl registration for nlm_sysctlsLuis Chamberlain1-19/+1
2023-03-14lockd: set file_lock start and end when decoding nlm4 testargsJeff Layton2-9/+13
2023-02-23Merge tag 'sysctl-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+1
2023-02-22Merge tag 'nfsd-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-9/+12
2023-02-21sysctl: fix proc_dobool() usabilityOndrej Mosnacek1-1/+1
2023-02-20SUNRPC: Use per-CPU counters to tally server RPC countsChuck Lever1-5/+10
2023-02-20SUNRPC: Refactor RPC server dispatch methodChuck Lever1-2/+2
2023-02-20SUNRPC: Push svcxdr_init_encode() into svc_process_common()Chuck Lever1-1/+0
2023-02-20SUNRPC: Push svcxdr_init_decode() into svc_process_common()Chuck Lever1-1/+0
2023-01-11fs: remove locks_inodeJeff Layton2-2/+2
2023-01-11filelock: move file locking definitions to separate header fileJeff Layton2-0/+2
2022-12-12Merge tag 'nfsd-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds4-14/+22
2022-12-10lockd: fix file selection in nlmsvc_cancel_blockedJeff Layton1-3/+4
2022-12-10lockd: ensure we use the correct file descriptor when unlockingJeff Layton1-4/+6
2022-12-10lockd: set missing fl_flags field when retrieving argsJeff Layton2-0/+2
2022-12-10lockd: set other missing fields when unlocking filesTrond Myklebust1-7/+10
2022-11-30lockd: use locks_inode_context helperJeff Layton1-2/+2
2022-09-26SUNRPC: Parametrize how much of argsize should be zeroedChuck Lever2-0/+48
2022-09-26lockd: move from strlcpy with unused retval to strscpyWolfram Sang1-1/+1
2022-08-04lockd: detect and reject lock arguments that overflowJeff Layton2-17/+10
2022-07-29NLM: Defend against file_lock changes after vfs_test_lock()Benjamin Coddington3-11/+8
2022-07-11lockd: fix nlm_close_filesJeff Layton1-5/+4
2022-07-11lockd: set fl_owner when unlocking filesJeff Layton1-2/+3
2022-02-28NFSD: Move svc_serv_ops::svo_function into struct svc_servChuck Lever1-5/+1
2022-02-28NFSD: Remove svc_serv_ops::svo_moduleChuck Lever1-3/+1
2022-02-28SUNRPC: Remove svc_shutdown_net()Chuck Lever1-2/+2
2022-02-28SUNRPC: Rename svc_create_xprt()Chuck Lever1-2/+2
2022-02-28SUNRPC: Remove svo_shutdown methodChuck Lever1-3/+2
2022-02-28SUNRPC: Remove the .svo_enqueue_xprt methodChuck Lever1-1/+0
2022-02-02Merge tag 'nfsd-5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/...Linus Torvalds1-8/+10
2022-01-27lockd: fix failure to cleanup client locksJ. Bruce Fields1-0/+1
2022-01-18lockd: fix server crash on reboot of client holding lockJ. Bruce Fields1-8/+9
2022-01-17Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-01-08nfs: block notification on fs with its own ->lockJ. Bruce Fields1-2/+4
2021-12-13lockd: use svc_set_num_threads() for thread start and stopNeilBrown1-50/+8
2021-12-13lockd: rename lockd_create_svc() to lockd_get()NeilBrown1-6/+4
2021-12-13lockd: introduce lockd_put()NeilBrown1-37/+27
2021-12-13lockd: move svc_exit_thread() into the threadNeilBrown1-11/+12
2021-12-13lockd: move lockd_start_svc() call into lockd_create_svc()NeilBrown1-12/+10
2021-12-13lockd: simplify management of network status notifiersNeilBrown1-26/+9
2021-12-13lockd: introduce nlmsvc_servNeilBrown1-16/+20
2021-12-13SUNRPC: stop using ->sv_nrthreads as a refcountNeilBrown1-4/+0
2021-12-13SUNRPC/NFSD: clean up get/put functions.NeilBrown1-5/+1
2021-12-13SUNRPC: change svc_get() to return the svc.NeilBrown1-4/+2
2021-11-10Merge tag 'nfsd-5.16' of git://linux-nfs.org/~bfields/linuxLinus Torvalds3-166/+145
2021-10-20SUNRPC: Trace calls to .rpc_call_doneChuck Lever3-7/+0
2021-10-13SUNRPC: Change return value type of .pc_encodeChuck Lever2-18/+18
2021-10-13SUNRPC: Replace the "__be32 *p" parameter to .pc_encodeChuck Lever3-16/+9
2021-10-13SUNRPC: Change return value type of .pc_decodeChuck Lever2-96/+97
2021-10-13SUNRPC: Replace the "__be32 *p" parameter to .pc_decodeChuck Lever3-36/+21
2021-09-22Merge tag 'nfsd-5.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/...Linus Torvalds1-11/+2
2021-09-17NLM: Fix svcxdr_encode_owner()Chuck Lever1-11/+2
2021-09-04Merge tag 'nfs-for-5.15-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-0/+2
2021-08-26lockd: don't attempt blocking locks on nfs reexportsJ. Bruce Fields1-3/+10
2021-08-23Keep read and write fds with each nlm_fileJ. Bruce Fields4-39/+96
2021-08-23lockd: update nlm_lookup_file reexport commentJ. Bruce Fields1-2/+3
2021-08-23nlm: minor refactoringJ. Bruce Fields2-10/+10
2021-08-23nlm: minor nlm_lookup_file argument changeJ. Bruce Fields3-9/+11
2021-08-21lockd: lockd server-side shouldn't set fl_opsJ. Bruce Fields1-18/+12
2021-08-17lockd: change the proc_handler for nsm_use_hostnamesJia He1-1/+1
2021-08-17lockd: Fix invalid lockowner cast after vfs_test_lockBenjamin Coddington1-1/+1
2021-08-10SUNRPC: Set rq_auth_stat in the pg_authenticate() calloutChuck Lever1-0/+2
2021-07-06lockd: Update the NLMv4 SHARE results encoder to use struct xdr_streamChuck Lever1-13/+9
2021-07-06lockd: Update the NLMv4 nlm_res results encoder to use struct xdr_streamChuck Lever1-7/+6
2021-07-06lockd: Update the NLMv4 TEST results encoder to use struct xdr_streamChuck Lever1-38/+36
2021-07-06lockd: Update the NLMv4 void results encoder to use struct xdr_streamChuck Lever1-6/+11
2021-07-06lockd: Update the NLMv4 FREE_ALL arguments decoder to use struct xdr_streamChuck Lever1-13/+15
2021-07-06lockd: Update the NLMv4 SHARE arguments decoder to use struct xdr_streamChuck Lever1-73/+26
2021-07-06lockd: Update the NLMv4 SM_NOTIFY arguments decoder to use struct xdr_streamChuck Lever1-13/+26
2021-07-06lockd: Update the NLMv4 nlm_res arguments decoder to use struct xdr_streamChuck Lever1-11/+14
2021-07-06lockd: Update the NLMv4 UNLOCK arguments decoder to use struct xdr_streamChuck Lever1-40/+13
2021-07-06lockd: Update the NLMv4 CANCEL arguments decoder to use struct xdr_streamChuck Lever1-15/+18
2021-07-06lockd: Update the NLMv4 LOCK arguments decoder to use struct xdr_streamChuck Lever1-18/+23
2021-07-06lockd: Update the NLMv4 TEST arguments decoder to use struct xdr_streamChuck Lever1-6/+66
2021-07-06lockd: Update the NLMv4 void arguments decoder to use struct xdr_streamChuck Lever1-7/+10
2021-07-06lockd: Update the NLMv1 SHARE results encoder to use struct xdr_streamChuck Lever1-16/+9
2021-07-06lockd: Update the NLMv1 nlm_res results encoder to use struct xdr_streamChuck Lever1-7/+6
2021-07-06lockd: Update the NLMv1 TEST results encoder to use struct xdr_streamChuck Lever1-39/+35
2021-07-06lockd: Update the NLMv1 void results encoder to use struct xdr_streamChuck Lever1-6/+11
2021-07-06lockd: Update the NLMv1 FREE_ALL arguments decoder to use struct xdr_streamChuck Lever1-13/+15
2021-07-06lockd: Update the NLMv1 SHARE arguments decoder to use struct xdr_streamChuck Lever1-70/+26
2021-07-06lockd: Update the NLMv1 SM_NOTIFY arguments decoder to use struct xdr_streamChuck Lever1-13/+26
2021-07-06lockd: Update the NLMv1 nlm_res arguments decoder to use struct xdr_streamChuck Lever1-11/+14
2021-07-06lockd: Update the NLMv1 UNLOCK arguments decoder to use struct xdr_streamChuck Lever1-40/+13
2021-07-06lockd: Update the NLMv1 CANCEL arguments decoder to use struct xdr_streamChuck Lever1-15/+19
2021-07-06lockd: Update the NLMv1 LOCK arguments decoder to use struct xdr_streamChuck Lever1-18/+23
2021-07-06lockd: Update the NLMv1 TEST arguments decoder to use struct xdr_streamChuck Lever1-6/+66
2021-07-06lockd: Update the NLMv1 void argument decoder to use struct xdr_streamChuck Lever1-7/+10
2021-07-06lockd: Common NLM XDR helpersChuck Lever1-0/+151
2021-07-06lockd: Create a simplified .vs_dispatch method for NLM requestsChuck Lever1-0/+43
2021-01-25SUNRPC: Make trace_svc_process() display the RPC procedure symbolicallyChuck Lever2-0/+48
2020-12-16fs/lockd: convert comma to semicolonZheng Yongjun1-1/+1
2020-12-02lockd: don't use interval-based rebinding over TCPCalum Mackay1-9/+11
2020-10-22Merge tag 'nfsd-5.10' of git://linux-nfs.org/~bfields/linuxLinus Torvalds2-100/+398
2020-10-02lockd: Replace PROC() macro with open codeChuck Lever2-100/+398
2020-09-21Replace HTTP links with HTTPS ones: NFS, SUNRPC, and LOCKD clientsAlexander A. Klimov1-1/+1
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan1-6/+6
2019-11-03NFSv4.1: Don't rebind to the same source port when reconnecting to the serverTrond Myklebust1-1/+2
2019-07-03lockd: Make two symbols staticYueHaibing2-2/+2
2019-07-03lockd: Show pid of lockd for remote locksBenjamin Coddington5-6/+4
2019-07-03lockd: Remove lm_compare_owner and lm_owner_keyBenjamin Coddington1-18/+0
2019-07-03lockd: Convert NLM service fl_owner to nlm_lockownerBenjamin Coddington6-5/+121
2019-07-03lockd: prepare nlm_lockowner for use by the serverBenjamin Coddington1-10/+11
2019-05-31Revert "lockd: Show pid of lockd for remote locks"Benjamin Coddington2-4/+4
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner3-0/+3
2019-05-15Merge tag 'nfsd-5.2' of git://linux-nfs.org/~bfields/linuxLinus Torvalds2-15/+22
2019-04-26lockd: Store the lockd client credential in struct nlm_hostTrond Myklebust2-3/+10
2019-04-26SUNRPC: Cache cred of process creating the rpc_clientTrond Myklebust2-0/+2
2019-04-25SUNRPC: Fix up task signallingTrond Myklebust1-2/+2
2019-04-24lockd: Pass the user cred from knfsd when starting the lockd serverTrond Myklebust2-14/+18
2019-04-24SUNRPC: Cache the process user cred in the RPC server listenerTrond Myklebust1-1/+2
2019-04-24SUNRPC: Allow further customisation of RPC program registrationTrond Myklebust1-0/+1
2019-04-24SUNRPC: Add a callback to initialise server requestsTrond Myklebust1-1/+2
2019-03-18NFS: fix mount/umount race in nlmclnt.NeilBrown1-2/+1
2019-02-13NFS: Remove print_overflow_msg()Chuck Lever2-28/+0
2019-01-02Merge tag 'nfs-for-4.21-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-3/+3
2019-01-02Merge tag 'nfsd-4.21' of git://linux-nfs.org/~bfields/linuxLinus Torvalds5-37/+17
2018-12-19NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'.NeilBrown1-3/+3
2018-12-14lockd: Show pid of lockd for remote locksBenjamin Coddington3-5/+5
2018-12-07fs/locks: merge posix_unblock_lock() and locks_delete_block()NeilBrown1-1/+1
2018-11-27lockd: fix decoding of TEST resultsJ. Bruce Fields2-32/+12
2018-10-29lockd: fix access beyond unterminated strings in printsAmir Goldstein1-1/+1
2018-08-09nfsd: fix leaked file lock with nfs exported overlayfsAmir Goldstein4-12/+12
2018-03-19lockd: make nlm_ntf_refcnt and nlm_ntf_wq staticColin Ian King1-2/+2
2018-01-24lockd: Fix server refcountingTrond Myklebust1-3/+5
2018-01-14lockd: convert nlm_rqst.a_count from atomic_t to refcount_tElena Reshetova2-5/+5
2018-01-14lockd: convert nlm_lockowner.count from atomic_t to refcount_tElena Reshetova1-3/+3
2018-01-14lockd: convert nsm_handle.sm_count from atomic_t to refcount_tElena Reshetova2-8/+8
2018-01-14lockd: convert nlm_host.h_count from atomic_t to refcount_tElena Reshetova1-7/+7
2017-11-27nlm_shutdown_hosts_net() cleanupVasily Averin1-2/+1
2017-11-27race of lockd inetaddr notifiers vs nlmsvc_rqst changeVasily Averin1-2/+14
2017-11-27lockd: lost rollback of set_grace_period() in lockd_down_net()Vasily Averin1-0/+2
2017-11-27lockd: added cleanup checks in exit_net hookVasily Averin1-0/+11
2017-11-27lockd: remove net pointer from messagesVasily Averin4-14/+21
2017-11-18Merge tag 'nfsd-4.15' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-11/+9
2017-11-15Merge tag 'modules-for-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2017-11-07lockd: double unregister of inetaddr notifiersVasily Averin1-11/+9
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman14-0/+14
2017-10-31treewide: Fix function prototypes for module_param_call()Kees Cook1-1/+1
2017-09-11Merge tag 'nfs-for-4.14-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-5/+1
2017-09-06lockd: Delete an error message for a failed memory allocation in reclaimer()Markus Elfring1-5/+1
2017-08-24sunrpc: Const-ify struct sv_serv_opsChuck Lever1-1/+1
2017-05-15sunrpc: mark all struct svc_version instances as constChristoph Hellwig1-19/+19
2017-05-15sunrpc: mark all struct svc_procinfo instances as constChristoph Hellwig2-2/+2
2017-05-15sunrpc: move pc_count out of struct svc_procinfoChristoph Hellwig1-0/+6
2017-05-15sunrpc: properly type pc_encode callbacksChristoph Hellwig4-10/+22
2017-05-15sunrpc: properly type pc_decode callbacksChristoph Hellwig4-20/+42
2017-05-15sunrpc: properly type pc_func callbacksChristoph Hellwig2-86/+150
2017-05-15sunrpc: mark all struct rpc_procinfo instances as constChristoph Hellwig3-3/+3
2017-05-15sunrpc: move p_count out of struct rpc_procinfoChristoph Hellwig3-1/+9
2017-05-15lockd: fix some weird indentationChristoph Hellwig2-19/+19
2017-05-15lockd: fix decoder callback prototypesChristoph Hellwig3-10/+16
2017-05-15lockd: fix encoder callback prototypesChristoph Hellwig3-18/+34
2017-05-10Merge tag 'nfsd-4.12' of git://linux-nfs.org/~bfields/linuxLinus Torvalds2-11/+13
2017-05-08lockd: fix lockd shutdown raceJ. Bruce Fields1-2/+4
2017-04-25lockd: remove redundant check on blockColin Ian King1-9/+9
2017-04-21lockd: Introduce nlmclnt_operationsBenjamin Coddington2-1/+26
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-1/+1
2017-01-31lockd: initialize sin6_scope_id in lockd_inet6addr_event()Scott Mayhew1-0/+2
2016-11-18netns: make struct pernet_operations::id unsigned intAlexey Dobriyan2-2/+2
2016-10-11treewide: remove redundant #include <linux/kconfig.h>Masahiro Yamada1-2/+0
2016-07-28Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+0
2016-06-30lockd: unregister notifier blocks if the service fails to come up completelyScott Mayhew1-3/+10
2016-05-29drop redundant ->owner initializationsAl Viro1-1/+0
2016-01-07lockd: constify nlmsvc_binding structureJulia Lawall1-1/+1
2016-01-07lockd: use to_delayed_workGeliang Tang1-2/+1
2015-12-23lockd: Register callbacks on the inetaddr_chain and inet6addr_chainScott Mayhew1-2/+72
2015-11-11Merge tag 'nfsd-4.4' of git://linux-nfs.org/~bfields/linuxLinus Torvalds6-97/+46