aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
AgeCommit message (Expand)AuthorFilesLines
8 daysMerge tag 'nfs-for-7.2-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-16/+47
2026-06-17Merge tag 'lsm-pr-20260615' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+2
2026-06-08nfs: use nfsi->rwsem to protect traversal of the file lock listYang Erkun1-11/+11
2026-06-08NFSv4.1/pNFS: fix LAYOUTCOMMIT retry loop on OLD_STATEIDLei Yin1-0/+32
2026-06-08NFSv4: clear exception state on successful mkdir retryIgor Raits1-3/+2
2026-06-08nfs: replace NFS_FILEID() and nfsi->fileid with inode->i_inoJeff Layton1-2/+2
2026-05-11nfs: Implement fileattr_get for case sensitivityChuck Lever1-3/+7
2026-05-01security,fs,nfs,net: update security_inode_listsecurity() interfaceStephen Smalley1-5/+2
2026-04-24Merge tag 'nfs-for-7.1-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-10/+32
2026-04-13NFSv4.1: Apply session size limits on clone pathTushar Sariya1-0/+3
2026-04-13NFSv4: retry GETATTR if GET_DIR_DELEGATION failedOlga Kornievskaia1-0/+8
2026-04-13NFS: fix RENAME attr in presence of directory delegationsOlga Kornievskaia1-0/+1
2026-04-13NFSv4/pnfs: If the server is down, retry the layout returns on rebootTrond Myklebust1-10/+20
2026-03-06treewide: change inode->i_ino from unsigned long to u64Jeff Layton1-2/+2
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds1-9/+9
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-19/+19
2026-02-09nfs: nfs4proc: Convert comma to semicolonChen Ni1-1/+1
2026-02-09NFSv4: pass lease period in seconds to nfs4_set_lease_period()Sergey Shtylyov1-1/+1
2026-02-09nfs: unify security_inode_listsecurity() callsStephen Smalley1-35/+3
2026-01-30NFS: Merge CONFIG_NFS_V4_1 with CONFIG_NFS_V4Anna Schumaker1-55/+0
2026-01-30NFS: Add a way to disable NFS v4.0 via KConfigAnna Schumaker1-0/+2
2026-01-30NFS: Move sequence slot operations into minorversion operationsAnna Schumaker1-71/+32
2026-01-30NFS: Pass a struct nfs_client to nfs4_init_sequence()Anna Schumaker1-57/+69
2026-01-30NFS: Move the NFS v4.0 minor version ops into nfs40proc.cAnna Schumaker1-111/+4
2026-01-30NFS: Split out the nfs40_mig_recovery_ops to nfs40proc.cAnna Schumaker1-109/+6
2026-01-30NFS: Split out the nfs40_state_renewal_ops into nfs40proc.cAnna Schumaker1-101/+1
2026-01-30NFS: Split out the nfs40_nograce_recovery_ops into nfs40proc.cAnna Schumaker1-29/+5
2026-01-30NFS: Split out the nfs40_reboot_recovery_ops into nfs40client.cAnna Schumaker1-11/+2
2026-01-30NFS: Move nfs40_call_sync_ops into nfs40proc.cAnna Schumaker1-24/+1
2026-01-20NFS: take a delegation reference in nfs4_get_valid_delegationChristoph Hellwig1-13/+13
2026-01-20NFS: simplify the detached delegation check in update_open_stateidChristoph Hellwig1-2/+1
2026-01-20NFS: move delegation lookup into can_open_delegatedChristoph Hellwig1-32/+33
2026-01-04NFSv4: Don't free slots prematurely if requesting a directory delegationTrond Myklebust1-8/+39
2026-01-04pNFS: Fix a deadlock when returning a delegation during open()Trond Myklebust1-3/+3
2025-12-05NFSv4: Handle NFS4ERR_NOTSUPP errors for directory delegationsTrond Myklebust1-8/+17
2025-11-23NFS: Add a module option to disable directory delegationsAnna Schumaker1-0/+2
2025-11-23NFS: Request a directory delegation during RENAMEAnna Schumaker1-1/+4
2025-11-23NFS: Request a directory delegation on ACCESS, CREATE, and UNLINKAnna Schumaker1-4/+51
2025-11-23NFSv4: ensure the open stateid seqid doesn't go backwardsScott Mayhew1-2/+11
2025-11-19NFS: Initialise verifiers for visible dentries in _nfs4_open_and_get_stateTrond Myklebust1-13/+14
2025-11-10NFSv4: Fix an incorrect parameter when calling nfs4_call_sync()Trond Myklebust1-3/+6
2025-10-13NFS4: Apply delay_retrans to async operationsJoshua Watt1-0/+13
2025-09-23nfs4_setup_readdir(): insufficient locking for ->d_parent->d_inode dereferencingAl Viro1-0/+2
2025-09-23NFS: Update getacl to use xdr_set_scratch_folio()Anna Schumaker1-2/+2
2025-09-23NFSv4.1: fix backchannel max_resp_sz verification checkAnthony Iliopoulos1-1/+1
2025-09-23NFSv4: handle ERR_GRACE on delegation recallsOlga Kornievskaia1-2/+2
2025-08-29NFSv4: Clear NFS_CAP_OPEN_XOR and NFS_CAP_DELEGTIME if not supportedTrond Myklebust1-1/+2
2025-08-29NFSv4: Clear the NFS_CAP_FS_LOCATIONS flag if it is not setTrond Myklebust1-2/+3
2025-08-29NFSv4: Don't clear capabilities that won't be resetTrond Myklebust1-1/+0
2025-08-04NFSv4: Remove duplicate lookups, capability probes and fsinfo callsTrond Myklebust1-48/+39
2025-08-04NFS: Fix the setting of capabilities when automounting a new filesystemTrond Myklebust1-1/+1
2025-07-28NFSv4.2: another fix for listxattrOlga Kornievskaia1-4/+6
2025-07-22NFS: use a hash table for delegation lookupChristoph Hellwig1-1/+21
2025-07-14nfs: new tracepoint in match_stateid operationJeff Layton1-0/+4
2025-07-14nfs: Add timecreate to nfs inodeAnne Marie Merritt1-1/+13
2025-05-28nfs: fix incorrect handling of large-number NFS errors in nfs4_do_mkdir()NeilBrown1-12/+20
2025-05-28NFSv4: Allow FREE_STATEID to clean up delegationsBenjamin Coddington1-6/+6
2025-05-28NFSv4: Don't check for OPEN feature support in v4.1Scott Mayhew1-2/+3
2025-05-28NFSv4.2: fix listxattr to return selinux security labelOlga Kornievskaia1-2/+10
2025-05-28NFSv4.2: fix setattr caching of TIME_[MODIFY|ACCESS]_SET when timestamps are ...Sagi Grimberg1-4/+4
2025-05-28NFS: Add support for fallocate(FALLOC_FL_ZERO_RANGE)Anna Schumaker1-0/+1
2025-05-19NFSv4: xattr handlers should check for absent nfs filehandlesScott Mayhew1-0/+5
2025-04-27nfs: handle failure of nfs_get_lock_context in unlock pathLi Lingfeng1-1/+8
2025-04-27NFSv4: Handle fatal ENETDOWN and ENETUNREACH errorsTrond Myklebust1-0/+9
2025-04-02Merge tag 'nfs-for-6.15-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-4/+13
2025-03-28NFS: Don't allow waiting for exiting tasksTrond Myklebust1-2/+7
2025-03-26NFSv4: Further cleanups to shutdown loopsTrond Myklebust1-1/+1
2025-03-24Merge tag 'vfs-6.15-rc1.async.dir' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-15/+32
2025-03-21NFS: Treat ENETUNREACH errors as fatal in containersTrond Myklebust1-0/+3
2025-03-17NFS: Implement NFSv4.2's OFFLOAD_STATUS operationChuck Lever1-1/+2
2025-03-05nfs: change mkdir inode_operation to return alternate dentry if needed.NeilBrown1-12/+31
2025-02-26nfs/vfs: discard d_exact_alias()NeilBrown1-3/+1
2025-02-25lsm,nfs: fix memory leak of lsm_contextStephen Smalley1-3/+4
2025-02-19NFSv4: Fix a deadlock when recovering state on a sillyrenamed fileTrond Myklebust1-0/+3
2025-01-30Merge tag 'pull-revalidate' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-10/+10
2025-01-27nfs: fix ->d_revalidate() UAF on ->d_name accessesAl Viro1-10/+10
2024-12-04lsm: lsm_context in security_dentry_init_securityCasey Schaufler1-8/+12
2024-12-04lsm: ensure the correct LSM context releaserCasey Schaufler1-2/+6
2024-11-09NFSv4.0: Fix a use-after-free problem in the asynchronous open()Trond Myklebust1-3/+5
2024-11-04NFS: Fix attribute delegation behaviour on exclusive createTrond Myklebust1-0/+4
2024-09-23NFSv4.2: Fix detection of "Proxying of Times" server supportRoi Azarzar1-2/+14
2024-08-22NFSv4: Fix clearing of layout segments in layoutreturnTrond Myklebust1-3/+6
2024-08-22nfs: fix the fetch of FATTR4_OPEN_ARGUMENTSJeff Layton1-1/+2
2024-07-08NFSv4.1 another fix for EXCHGID4_FLAG_USE_PNFS_DS for DS serverOlga Kornievskaia1-1/+1
2024-07-08NFSv4/pnfs: Give nfs4_proc_layoutreturn() a flags argumentTrond Myklebust1-3/+5
2024-07-08NFSv4/pNFS: Retry the layout return later in case of a timeout or rebootTrond Myklebust1-1/+20
2024-07-08NFSv4.1: constify the stateid argument in nfs41_test_stateid()Trond Myklebust1-12/+12
2024-07-08NFSv4: Don't send delegation-related share access modes to CLOSETrond Myklebust1-4/+11
2024-07-08Return the delegation when deleting sillyrenamed filesLance Shelton1-0/+1
2024-07-08NFSv4: Ask for a delegation or an open stateid in OPENTrond Myklebust1-0/+2
2024-07-08NFSv4: Add support for OPEN4_RESULT_NO_OPEN_STATEIDTrond Myklebust1-4/+12
2024-07-08NFSv4: Detect support for OPEN4_SHARE_ACCESS_WANT_OPEN_XOR_DELEGATIONTrond Myklebust1-0/+4
2024-07-08NFSv4: Add support for the FATTR4_OPEN_ARGUMENTS attributeTrond Myklebust1-2/+18
2024-07-08NFSv4: Don't request atime/mtime/size if they are delegated to usTrond Myklebust1-3/+17
2024-07-08NFSv4: Delegreturn must set m/atime when they are delegatedTrond Myklebust1-3/+24
2024-07-08NFSv4: Enable attribute delegationsTrond Myklebust1-1/+6
2024-07-08NFSv4: Add a capability for delegated attributesTrond Myklebust1-0/+2
2024-07-08NFSv4: Add recovery of attribute delegationsTrond Myklebust1-3/+15
2024-07-08NFSv4: Add support for delegated atime and mtime attributesTrond Myklebust1-9/+12
2024-07-08NFSv4: Add a flags argument to the 'have_delegation' callbackTrond Myklebust1-7/+7
2024-07-08NFSv4: Plumb in XDR support for the new delegation-only setattr opTrond Myklebust1-0/+25
2024-07-08NFSv4: Add new attribute delegation definitionsTrond Myklebust1-1/+1
2024-07-08NFSv4: Refactor nfs4_opendata_check_deleg()Trond Myklebust1-36/+30
2024-07-08NFSv4: Clean up open delegation return structureTrond Myklebust1-12/+18
2024-05-30NFSv4.1 enforce rootpath check in fs_location queryOlga Kornievskaia1-1/+22
2024-05-22NFSv4: Fix memory leak in nfs4_set_security_labelDmitry Mastykin1-0/+1
2024-05-20NFS: Fix READ_PLUS when server doesn't support OP_READ_PLUSAnna Schumaker1-1/+1
2024-03-16Merge tag 'nfs-for-6.9-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-14/+15
2024-03-09NFSv4: nfs4_do_open() is incorrectly triggering state recoveryTrond Myklebust1-6/+1
2024-03-09NFSv4.1: add tracepoint to trunked nfs4_exchange_id callsOlga Kornievskaia1-2/+4
2024-02-28NFSv4.2: fix nfs4_listxattr kernel BUG at mm/usercopy.c:102Jorge Mora1-6/+10
2024-02-05filelock: split leases out of struct file_lockJeff Layton1-2/+2
2024-02-05nfs: adapt to breakup of struct file_lockJeff Layton1-15/+18
2024-02-05nfs: convert to using new filelock helpersJeff Layton1-6/+6
2024-01-04NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICTTrond Myklebust1-0/+3
2023-11-08Merge tag 'nfs-for-6.7-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-14/+48
2023-11-01nfs: Convert nfs_symlink() to use a folioMatthew Wilcox (Oracle)1-3/+4
2023-11-01NFSv4.1: fix SP4_MACH_CRED protection for pnfs IOOlga Kornievskaia1-2/+3
2023-11-01NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunkingOlga Kornievskaia1-1/+6
2023-10-30Merge tag 'vfs-6.7.xattr' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+1
2023-10-22NFSv4/pnfs: Allow layoutget to return EAGAIN for softerr mountsTrond Myklebust1-8/+10
2023-10-22NFSv4: Add a parameter to limit the number of retries after NFS4ERR_DELAYTrond Myklebust1-0/+25
2023-10-18NFSv4.1: fixup use EXCHGID4_FLAG_USE_PNFS_DS for DS serverOlga Kornievskaia1-2/+0
2023-10-09nfs: move nfs4_xattr_handlers to .rodataWedson Almeida Filho1-1/+1
2023-09-27NFSv4: Fix a state manager thread deadlock regressionTrond Myklebust1-1/+3
2023-09-15NFSv4.1: fix zero value filehandle in post open getattrOlga Kornievskaia1-1/+5
2023-08-31Merge tag 'nfs-for-6.6-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-12/+5
2023-08-28Merge tag 'v6.6-vfs.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-2/+2
2023-08-24NFSv4.1: use EXCHGID4_FLAG_USE_PNFS_DS for DS serverOlga Kornievskaia1-0/+4
2023-08-23NFSv4.2: Rework scratch handling for READ_PLUS (again)Anna Schumaker1-12/+1
2023-08-19NFSv4: fix out path in __nfs4_get_acl_uncachedFedor Pchelkin1-3/+2
2023-07-10fs: Pass argument to fcntl_setlease as intLuca Vizzarro1-2/+2
2023-07-02NFSv4: Fix dropped lock for racing OPEN and delegation returnBenjamin Coddington1-1/+8
2023-06-29Revert "NFSv4: Retry LOCK on OLD_STATEID during delegation return"Benjamin Coddington1-4/+2
2023-06-19NFSv4.1: freeze the session table upon receiving NFS4ERR_BADSESSIONOlga Kornievskaia1-0/+1
2023-06-19NFSv4: Clean up some shutdown loopsBenjamin Coddington1-1/+1
2023-05-19NFSv4.2: Fix a potential double free with READ_PLUSAnna Schumaker1-2/+10
2023-04-28NFSv4.2: Rework scratch handling for READ_PLUSAnna Schumaker1-5/+12
2023-03-22NFSv4: Fix hangs when recovering open state after a server rebootTrond Myklebust1-3/+2
2023-02-22Merge tag 'nfs-for-6.3-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-1/+3
2023-02-15NFS: fix disabling of swapNeilBrown1-1/+3
2023-01-19fs: port xattr to mnt_idmapChristian Brauner1-5/+5
2022-12-06NFS: avoid spurious warning of lost lock that is being unlocked.NeilBrown1-1/+2
2022-12-06NFSv4: check FMODE_EXEC from open context mode in nfs4_opendata_access()ChenXiaoSong1-11/+5
2022-11-27NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturnTrond Myklebust1-7/+12
2022-11-27NFSv4: Fix a credential leak in _nfs4_discover_trunking()Trond Myklebust1-1/+3
2022-11-27NFSv4.2: Fix initialisation of struct nfs4_labelTrond Myklebust1-5/+10
2022-10-27NFSv4: Retry LOCK on OLD_STATEID during delegation returnBenjamin Coddington1-2/+4
2022-10-27NFS: Avoid memcpy() run-time warning for struct sockaddr overflowsKees Cook1-2/+2
2022-10-13Merge tag 'nfs-for-6.1-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-2/+2
2022-10-03nfs: remove unnecessary (void*) conversions.yuzhe1-2/+2
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-7/+7
2022-08-02NFSv4/pnfs: Fix a use-after-free bug in openTrond Myklebust1-5/+6
2022-07-27NFSv4.1: RECLAIM_COMPLETE must handle EACCESZhang Xianwei1-0/+3
2022-07-25NFSv4.1 probe offline transports for trunking on session creationOlga Kornievskaia1-0/+8
2022-07-25NFSv4.1 remove xprt from xprt_switch if session trunking test failsOlga Kornievskaia1-0/+3
2022-07-25NFSv4.1 offline trunkable transports on DESTROY_SESSIONOlga Kornievskaia1-0/+1
2022-07-12NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctlyTrond Myklebust1-1/+0
2022-07-12NFSv4.1: Don't decrease the value of seq_nr_highest_sentTrond Myklebust1-3/+2
2022-06-30NFSv4: Add an fattr allocation to _nfs4_discover_trunking()Scott Mayhew1-6/+13
2022-05-31NFSv4.1 mark qualified async operations as MOVEABLE tasksOlga Kornievskaia1-12/+14
2022-05-31NFSv4: Fix free of uninitialized nfs4_label on referral lookup.Benjamin Coddington1-8/+7
2022-05-17NFSv4.1: Enable access to the NFSv4.1 'dacl' and 'sacl' attributesTrond Myklebust1-0/+69
2022-05-17NFSv4: Add encoders/decoders for the NFSv4.1 dacl and sacl attributesTrond Myklebust1-3/+6
2022-05-17NFSv4: Specify the type of ACL to cacheTrond Myklebust1-19/+40
2022-05-17NFSv4: Don't hold the layoutget locks across multiple RPC callsTrond Myklebust1-0/+4
2022-04-25NFSv4: Don't invalidate inode attributes on delegation returnTrond Myklebust1-1/+11
2022-04-07NFSv4/pnfs: Handle RPC allocation errors in nfs4_proc_layoutgetTrond Myklebust1-0/+2
2022-03-24NFSv4.1: don't retry BIND_CONN_TO_SESSION on session errorOlga Kornievskaia1-0/+1
2022-03-13NFSv4: keep state manager thread active if swap is enabledNeilBrown1-0/+20
2022-03-13NFSv4.1 restrict GETATTR fs_location query to the main transportOlga Kornievskaia1-2/+13
2022-02-25NFS: Clean up NFSv4.2 xattrsTrond Myklebust1-7/+2
2022-02-25NFSv4.1 support for NFS4_RESULT_PRESERVER_UNLINKEDOlga Kornievskaia1-0/+2
2022-02-25NFS: Convert GFP_NOFS to GFP_KERNELTrond Myklebust1-8/+7
2022-02-14NFS: Remove an incorrect revalidation in nfs4_update_changeattr_locked()Trond Myklebust1-2/+1
2022-02-08NFS: Fix nfs4_proc_get_locations() kernel-doc commentYang Li1-1/+2
2022-01-13NFSv4.1 test and add 4.1 trunking transportOlga Kornievskaia1-1/+55
2022-01-13NFSv4.1 query for fs_location attr on a new file systemOlga Kornievskaia1-10/+66
2022-01-12NFSv4 store server support for fs_location attributeOlga Kornievskaia1-0/+2
2022-01-06NFSv4: Allow writebacks to request 'blocks used'Trond Myklebust1-14/+7
2022-01-06NFS: Add a helper to remove case-insensitive aliasesTrond Myklebust1-1/+4
2022-01-06NFSv4: Add some support for case insensitive filesystemsTrond Myklebust1-1/+7
2022-01-06NFS: don't store 'struct cred *' in struct nfs_access_entryNeilBrown1-1/+0
2022-01-06NFS: pass cred explicitly for access testsNeilBrown1-5/+7
2022-01-06NFS: change nfs_access_get_cached to only report the maskNeilBrown1-9/+9
2021-11-10Merge tag 'nfs-for-5.16-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-190/+99
2021-11-05NFS: Remove the nfs4_label argument from nfs_setsecurityAnna Schumaker1-5/+4
2021-11-05NFS: Remove the nfs4_label argument from nfs_fhget()Anna Schumaker1-1/+1
2021-11-05NFS: Remove the nfs4_label argument from nfs_instantiate()Anna Schumaker1-1/+1
2021-11-05NFS: Remove the nfs4_label from the nfs_setattrresAnna Schumaker1-40/+16
2021-11-05NFS: Remove the nfs4_label from the nfs4_getattr_resAnna Schumaker1-14/+11
2021-11-05NFS: Remove the f_label from the nfs4_opendata and nfs_openresAnna Schumaker1-24/+11
2021-11-05NFS: Remove the nfs4_label from the nfs4_lookupp_res structAnna Schumaker1-6/+4
2021-11-05NFS: Remove the label from the nfs4_lookup_res structAnna Schumaker1-9/+7
2021-11-05NFS: Remove the nfs4_label from the nfs4_link_res structAnna Schumaker1-13/+3
2021-11-05NFS: Remove the nfs4_label from the nfs4_create_res structAnna Schumaker1-7/+5
2021-11-03nfs4: take a reference on the nfs_client when running FREE_STATEIDScott Mayhew1-0/+8
2021-10-27NFSv4: Fix a regression in nfs_set_open_stateid_locked()Trond Myklebust1-7/+8
2021-10-20NFS: Create an nfs4_server_set_init_caps() functionAnna Schumaker1-0/+2
2021-10-20NFS: Remove --> and <-- dprintk call sitesChuck Lever1-49/+5