aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd
AgeCommit message (Expand)AuthorFilesLines
2023-05-17Merge tag 'nfsd-6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds2-15/+16
2023-05-15NFSD: Remove open coding of string copyAzeem Shaikh1-3/+3
2023-05-02nfsd: define exports_proc_ops with CONFIG_PROC_FSTom Rix1-12/+13
2023-04-29Merge tag 'nfsd-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds6-269/+256
2023-04-27NFSD: Handle new xprtsec= export optionChuck Lever2-3/+49
2023-04-27NFSD: Clean up xattr memory allocation flagsChuck Lever1-5/+2
2023-04-27NFSD: Fix problem of COMMIT and NFS4ERR_DELAY in infinite loopDai Ngo1-2/+0
2023-04-26nfsd: simplify the delayed disposal list codeJeff Layton1-42/+22
2023-04-26NFSD: Watch for rq_pages bounds checking errors in nfsd_splice_actor()Chuck Lever1-1/+5
2023-04-26SUNRPC: return proper error from get_expiry()NeilBrown2-11/+10
2023-04-26NFSD: Convert filecache to rhltableChuck Lever2-187/+133
2023-04-26nfsd: allow reaping files still under writebackJeff Layton1-1/+11
2023-04-26nfsd: update comment over __nfsd_file_cache_purgeJeff Layton1-1/+2
2023-04-26nfsd: don't take/put an extra reference when putting a fileJeff Layton1-3/+1
2023-04-26nfsd: add some comments to nfsd_file_do_acquireJeff Layton1-0/+5
2023-04-26nfsd: don't kill nfsd_files because of lease break errorJeff Layton1-14/+15
2023-04-26nfsd: simplify test_bit return in NFSD_FILE_KEY_FULL comparatorJeff Layton1-1/+1
2023-04-26nfsd: NFSD_FILE_KEY_INODE only needs to find GC'ed entriesJeff Layton1-0/+4
2023-04-26nfsd: don't open-code clear_and_wake_up_bitJeff Layton1-3/+1
2023-04-24Merge tag 'v6.4/vfs.acl' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-2/+1
2023-04-04Merge tag 'nfsd-6.3-5' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds3-9/+11
2023-04-04NFSD: callback request does not use correct credential for AUTH_SYSDai Ngo1-2/+2
2023-03-31nfsd: call op_release, even when op_func returns an errorJeff Layton2-6/+6
2023-03-31NFSD: Avoid calling OPDESC() with ops->opnum == OP_ILLEGALChuck Lever1-1/+3
2023-03-21Merge tag 'nfsd-6.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds2-2/+9
2023-03-17nfsd: don't replace page in rq_pages if it's a continuation of last pageJeff Layton1-1/+8
2023-03-10Merge tag 'nfsd-6.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-0/+2
2023-03-10NFS & NFSD: Update GSS dependenciesChuck Lever1-1/+1
2023-03-07NFSD: Protect against filesystem freezingChuck Lever1-0/+2
2023-03-06xattr: remove unused argumentChristian Brauner1-2/+1
2023-02-22Merge tag 'nfsd-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds17-411/+286
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds7-30/+31
2023-02-20Merge tag 'iversion-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/jl...Linus Torvalds4-30/+52
2023-02-20Merge tag 'locks-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayt...Linus Torvalds2-2/+3
2023-02-20NFSD: Clean up nfsd_symlink()Chuck Lever1-8/+3
2023-02-20NFSD: copy the whole verifier in nfsd_copy_write_verifierChuck Lever1-1/+1
2023-02-20nfsd: don't fsync nfsd_files on last closeJeff Layton2-63/+12
2023-02-20nfsd: fix courtesy client with deny mode handling in nfs4_upgrade_openJeff Layton1-10/+11
2023-02-20NFSD: fix problems with cleanup on errors in nfsd4_copyDai Ngo2-6/+11
2023-02-20nfsd: fix race to check ls_layoutsBenjamin Coddington1-2/+2
2023-02-20nfsd: don't hand out delegation on setuid files being opened for writeJeff Layton1-0/+27
2023-02-20nfsd: remove fs/nfsd/fault_inject.cJeff Layton1-142/+0
2023-02-20NFSD: fix leaked reference count of nfsd4_ssc_umount_itemDai Ngo1-4/+8
2023-02-20nfsd: clean up potential nfsd_file refcount leaks in COPY codepathJeff Layton1-13/+10
2023-02-20nfsd: zero out pointers after putting nfsd_files on COPY setup errorJeff Layton1-0/+2
2023-02-20nfsd: eliminate __nfs4_get_fdJeff Layton1-13/+7
2023-02-20nfsd: add some kerneldoc comments for stateid preprocessing functionsJeff Layton1-4/+25
2023-02-20nfsd: eliminate find_deleg_file_lockedJeff Layton1-10/+1
2023-02-20nfsd: don't take nfsd4_copy ref for OP_OFFLOAD_STATUSJeff Layton2-13/+24
2023-02-20NFSD: Replace /proc/fs/nfsd/supported_krb5_enctypes with a symlinkChuck Lever1-16/+58
2023-02-20SUNRPC: Use per-CPU counters to tally server RPC countsChuck Lever5-12/+16
2023-02-20nfsd: move reply cache initialization into nfsd startupJeff Layton2-9/+9
2023-02-20SUNRPC: Refactor RPC server dispatch methodChuck Lever3-4/+4
2023-02-20SUNRPC: Push svcxdr_init_encode() into svc_process_common()Chuck Lever2-7/+1
2023-02-20nfsd: fix potential race in nfs4_find_fileJeff Layton1-6/+9
2023-02-20nfsd: allow nfsd_file_get to sanely handle a NULL pointerJeff Layton2-6/+3
2023-02-20NFSD: enhance inter-server copy cleanupDai Ngo2-68/+45
2023-02-20SUNRPC: Push svcxdr_init_decode() into svc_process_common()Chuck Lever1-1/+0
2023-02-20fs: namei: Allow follow_down() to uncover auto mountsRichard Weinberger1-1/+5
2023-02-20NFSD: Teach nfsd_mountpoint() auto mountsRichard Weinberger1-1/+1
2023-02-15Merge tag 'nfsd-6.2-6' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-1/+1
2023-02-11nfsd: don't destroy global nfs4_file table in per-net shutdownJeff Layton1-1/+1
2023-01-26nfsd: remove fetch_iversion export operationJeff Layton1-3/+0
2023-01-26nfsd: use the getattr operation to fetch i_versionJeff Layton3-20/+45
2023-01-26nfsd: move nfsd4_change_attribute to nfsfh.cJeff Layton2-28/+28
2023-01-24Merge tag 'nfsd-6.2-5' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-25/+36
2023-01-23nfsd: don't free files unconditionally in __nfsd_file_cache_purgeJeff Layton1-25/+36
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner2-8/+8
2023-01-19fs: port ->set_acl() to pass mnt_idmapChristian Brauner3-6/+6
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-18fs: port vfs_*() helpers to struct mnt_idmapChristian Brauner3-15/+16
2023-01-17Merge tag 'nfsd-6.2-4' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds5-26/+20
2023-01-12NFSD: replace delayed_work with work_struct for nfsd_client_shrinkerDai Ngo2-5/+5
2023-01-11NFSD: register/unregister of nfsd-client shrinker at nfsd startup/shutdown timeDai Ngo3-21/+14
2023-01-11NFSD: fix use-after-free in nfsd4_ssc_setup_dul()Xingyuan Mo1-0/+1
2023-01-11fs: remove locks_inodeJeff Layton1-2/+2
2023-01-11filelock: move file locking definitions to separate header fileJeff Layton1-0/+1
2023-01-10Merge tag 'nfsd-6.2-3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds7-78/+48
2023-01-07NFSD: Use set_bit(RQ_DROPME)Chuck Lever1-2/+2
2023-01-06Revert "SUNRPC: Use RMW bitops in single-threaded hot paths"Chuck Lever2-5/+4
2023-01-06nfsd: fix handling of cached open files in nfsd4_open codepathJeff Layton4-71/+42
2023-01-04Merge tag 'nfsd-6.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds2-1/+12
2023-01-02nfsd: fix handling of readdir in v4root vs. mount upcall timeoutJeff Layton1-0/+11
2022-12-22nfsd: shut down the NFSv4 state objects before the filecacheJeff Layton1-1/+1
2022-12-19Merge tag 'nfsd-6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds4-196/+197
2022-12-14Merge tag 'hardening-v6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2022-12-14NFSD: fix use-after-free in __nfs42_ssc_open()Dai Ngo1-15/+5
2022-12-12Merge tag 'nfsd-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds27-730/+1173
2022-12-12Merge tag 'fs.acl.rework.v6.2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds4-12/+12
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2022-12-12Merge tag 'locks-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayt...Linus Torvalds1-3/+3
2022-12-12nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failureDan Aloni1-1/+3
2022-12-11nfsd: rework refcounting in filecacheJeff Layton2-180/+189
2022-12-10NFSD: Avoid clashing function prototypesKees Cook1-255/+377
2022-12-10NFSD: Use only RQ_DROPME to signal the need to drop a replyChuck Lever2-3/+3
2022-12-10NFSD: add CB_RECALL_ANY tracepointsDai Ngo2-0/+52
2022-12-10NFSD: add delegation reaper to react to low memory conditionDai Ngo2-4/+89
2022-12-10NFSD: add support for sending CB_RECALL_ANYDai Ngo4-0/+84
2022-12-10NFSD: refactoring courtesy_client_reaper to a generic low memory shrinkerDai Ngo1-9/+16
2022-12-10NFSD: pass range end to vfs_fsync_range() instead of countBrian Foster1-2/+3
2022-12-10NFSD: Use struct_size() helper in alloc_session()Xiu Jianfeng1-5/+4
2022-12-10nfsd: return error if nfs4_setacl failsJeff Layton1-0/+2
2022-12-10NFSD: Add an nfsd_file_fsync tracepointChuck Lever2-1/+35
2022-12-10nfsd: fix up the filecache laundrette schedulingJeff Layton1-7/+5
2022-11-30nfsd: use locks_inode_context helperJeff Layton1-3/+3
2022-11-28nfsd: reorganize filecache.cJeff Layton2-57/+58
2022-11-28nfsd: remove the pages_flushed statistic from filecacheJeff Layton1-6/+1
2022-11-28NFSD: Fix licensing header in filecache.cChuck Lever1-1/+2
2022-11-28NFSD: Use rhashtable for managing nfs4_file objectsChuck Lever2-39/+63
2022-11-28NFSD: Refactor find_file()Chuck Lever1-21/+15
2022-11-28NFSD: Clean up find_or_add_file()Chuck Lever1-36/+28
2022-11-28NFSD: Add a nfsd4_file_hash_remove() helperChuck Lever1-1/+7
2022-11-28NFSD: Clean up nfsd4_init_file()Chuck Lever1-6/+4
2022-11-28NFSD: Update file_hashtbl() helpersChuck Lever1-2/+2
2022-11-28NFSD: Use const pointers as parameters to fh_ helpersChuck Lever1-4/+6
2022-11-28NFSD: Trace delegation revocationsChuck Lever2-0/+57
2022-11-28NFSD: Trace stateids returned via DELEGRETURNChuck Lever2-0/+2
2022-11-28NFSD: Clean up nfs4_preprocess_stateid_op() call sitesChuck Lever1-24/+7
2022-11-28NFSD: Flesh out a documenting comment for filecache.cChuck Lever1-0/+24
2022-11-28NFSD: Add an NFSD_FILE_GC flag to enable nfsd_file garbage collectionChuck Lever5-13/+64
2022-11-28NFSD: Revert "NFSD: NFSv4 CLOSE should release an nfsd_file immediately"Chuck Lever3-21/+2
2022-11-28NFSD: Pass the target nfsd_file to nfsd_commit()Chuck Lever4-14/+25
2022-11-28nfsd: don't call nfsd_file_put from client states seqfile displayJeff Layton1-18/+33
2022-11-28nfsd: allow disabling NFSv2 at compile timeJeff Layton5-8/+27
2022-11-28nfsd: move nfserrno() to vfs.cJeff Layton8-63/+68
2022-11-28nfsd: ignore requests to disable unsupported versionsJeff Layton1-1/+3
2022-11-28NFSD: Finish converting the NFSv3 GETACL result encoderChuck Lever1-24/+6
2022-11-28NFSD: Finish converting the NFSv2 GETACL result encoderChuck Lever1-10/+0
2022-11-28NFSD: Remove redundant assignment to variable host_errColin Ian King1-1/+0
2022-11-28NFSD: Simplify READ_PLUSAnna Schumaker1-107/+32
2022-11-27Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-2/+2
2022-11-26Merge tag 'nfsd-6.1-6' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-3/+4
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-11-25vfs: fix copy_file_range() averts filesystem freeze protectionAmir Goldstein1-2/+2
2022-11-23NFSD: Fix reads with a non-zero offset that don't end on a page boundaryChuck Lever1-3/+4
2022-11-17Merge tag 'nfsd-6.1-5' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-1/+4
2022-11-14NFSD: Fix trace_nfsd_fh_verify_err() crasherChuck Lever1-1/+4
2022-11-11Merge tag 'nfsd-6.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds2-0/+2
2022-11-08nfsd: put the export reference in nfsd4_verify_deleg_dentryJeff Layton1-0/+1
2022-11-05nfsd: fix use-after-free in nfsd_file_do_acquire tracepointJeff Layton1-0/+1
2022-11-01Merge tag 'nfsd-6.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-3/+2
2022-11-01nfsd: fix net-namespace logic in __nfsd_file_cache_purgeJeff Layton1-3/+2
2022-11-01cred: Do not default to init_cred in prepare_kernel_cred()Kees Cook1-1/+1
2022-10-21Merge tag 'nfsd-6.1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds2-2/+4
2022-10-20fs: rename current get acl methodChristian Brauner3-6/+6
2022-10-19fs: pass dentry to set acl methodChristian Brauner3-6/+6
2022-10-13nfsd: ensure we always call fh_verify_error tracepointJeff Layton1-1/+1
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-2/+2
2022-10-11NFSD: unregister shrinker when nfsd_init_net() failsTetsuo Handa1-1/+3
2022-10-10Merge tag 'nfsd-6.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-59/+29
2022-10-06Merge tag 'pull-file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds2-7/+7
2022-10-05nfsd: rework hashtable handling in nfsd_do_file_acquireJeff Layton1-30/+22
2022-10-05nfsd: fix nfsd_file_unhash_and_disposeJeff Layton1-29/+7
2022-09-26nfsd: extra checks when freeing delegation stateidsJeff Layton1-1/+6
2022-09-26nfsd: make nfsd4_run_cb a bool return functionJeff Layton3-6/+15
2022-09-26nfsd: fix comments about spinlock handling with delegationsJeff Layton1-2/+2
2022-09-26nfsd: only fill out return pointer on success in nfsd4_lookup_stateidJeff Layton1-4/+6
2022-09-26NFSD: fix use-after-free on source server when doing inter-server copyDai Ngo1-0/+5
2022-09-26NFSD: Cap rsize_bop result based on send buffer sizeChuck Lever1-24/+24
2022-09-26NFSD: Rename the fields in copy_stateid_tChuck Lever3-21/+21
2022-09-26nfsd: use DEFINE_SHOW_ATTRIBUTE to define nfsd_file_cache_stats_fopsChenXiaoSong3-14/+4
2022-09-26nfsd: use DEFINE_SHOW_ATTRIBUTE to define nfsd_reply_cache_stats_fopsChenXiaoSong3-18/+7
2022-09-26nfsd: use DEFINE_SHOW_ATTRIBUTE to define client_info_fopsChenXiaoSong1-12/+2
2022-09-26nfsd: use DEFINE_SHOW_ATTRIBUTE to define export_features_fops and supported_...ChenXiaoSong1-24/+5
2022-09-26nfsd: use DEFINE_PROC_SHOW_ATTRIBUTE to define nfsd_proc_opsChenXiaoSong1-12/+2
2022-09-26NFSD: Pack struct nfsd4_compoundresChuck Lever1-1/+1
2022-09-26NFSD: Remove unused nfsd4_compoundargs::cachetype fieldChuck Lever1-1/+0
2022-09-26NFSD: Remove "inline" directives on op_rsize_bop helpersChuck Lever2-47/+77
2022-09-26NFSD: Clean up nfs4svc_encode_compoundres()Chuck Lever1-4/+0
2022-09-26NFSD: Clean up WRITE arg decodersChuck Lever2-6/+2
2022-09-26NFSD: Use xdr_inline_decode() to decode NFSv3 symlinksChuck Lever1-11/+3
2022-09-26NFSD: Refactor common code out of dirlist helpersChuck Lever2-18/+2
2022-09-26NFSD: Reduce amount of struct nfsd4_compoundargs that needs clearingChuck Lever2-12/+51
2022-09-26SUNRPC: Parametrize how much of argsize should be zeroedChuck Lever5-0/+50
2022-09-26NFSD: add shrinker to reap courtesy clients on low memory conditionDai Ngo4-12/+96
2022-09-26NFSD: keep track of the number of courtesy clients in the systemDai Ngo2-1/+18
2022-09-26NFSD: Return nfserr_serverfault if splice_ok but buf->pages have dataAnna Schumaker1-1/+1
2022-09-26NFSD: Make nfsd4_remove() wait before returning NFS4ERR_DELAYChuck Lever1-1/+10
2022-09-26NFSD: Make nfsd4_rename() wait before returning NFS4ERR_DELAYChuck Lever1-1/+9
2022-09-26NFSD: Make nfsd4_setattr() wait before returning NFS4ERR_DELAYChuck Lever1-1/+8
2022-09-26NFSD: Refactor nfsd_setattr()Chuck Lever1-40/+57
2022-09-26NFSD: Add a mechanism to wait for a DELEGRETURNChuck Lever3-0/+60
2022-09-26NFSD: Add tracepoints to report NFSv4 callback completionsChuck Lever4-1/+48
2022-09-26NFSD: Trace NFSv4 COMPOUND tagsChuck Lever2-8/+15
2022-09-26NFSD: Replace dprintk() call site in fh_verify()Chuck Lever2-10/+46
2022-09-26nfsd: remove nfsd4_prepare_cb_recall() declarationGaosheng Cui1-1/+0
2022-09-26nfsd: clean up mounted_on_fileid handlingJeff Layton1-7/+9
2022-09-26NFSD: Fix handling of oversized NFSv4 COMPOUND requestsChuck Lever3-16/+18
2022-09-26NFSD: drop fname and flen args from nfsd_create_locked()NeilBrown3-8/+6
2022-09-26NFSD: Protect against send buffer overflow in NFSv3 READChuck Lever1-2/+2
2022-09-26NFSD: Protect against send buffer overflow in NFSv2 READChuck Lever1-0/+1
2022-09-26NFSD: Protect against send buffer overflow in NFSv3 READDIRChuck Lever1-3/+4
2022-09-26NFSD: Protect against send buffer overflow in NFSv2 READDIRChuck Lever1-3/+2
2022-09-26NFSD: Increase NFSD_MAX_OPS_PER_COMPOUNDChuck Lever2-4/+5
2022-09-26nfsd: Propagate some error code returned by memdup_user()Christophe JAILLET1-3/+3
2022-09-26nfsd: Avoid some useless testsChristophe JAILLET1-3/+3
2022-09-26nfsd: Fix a memory leak in an error handling pathChristophe JAILLET1-1/+3
2022-09-26NFSD: remove redundant variable statusJinpeng Cui1-12/+4
2022-09-26NFSD enforce filehandle check for source file in COPYOlga Kornievskaia1-1/+7
2022-09-26NFSD: move from strlcpy with unused retval to strscpyWolfram Sang3-6/+6