aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
AgeCommit message (Expand)AuthorFilesLines
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
2021-10-20security: Return xattr name from security_dentry_init_security()Vivek Goyal1-1/+2
2021-10-03NFSv4: Retrieve ACCESS on open if we're not using NFS4_CREATE_EXCLUSIVETrond Myklebust1-23/+22
2021-07-08Merge part 2 of branch 'sysfs-devel'Trond Myklebust1-5/+33
2021-07-08NFSv4/pnfs: Clean up layout get on openTrond Myklebust1-5/+1
2021-07-08NFSv4.1 identify and mark RPC tasks that can move between transportsOlga Kornievskaia1-5/+33
2021-06-29Merge branch 'leases-devel'Trond Myklebust1-0/+37
2021-06-29NFSv4: setlease should return EAGAIN if locks are not availableTrond Myklebust1-2/+2
2021-06-26NFSv4: Fix handling of non-atomic change attrbute updatesTrond Myklebust1-18/+15
2021-06-13NFSv4: Add support for application leases underpinned by a delegationTrond Myklebust1-0/+37
2021-06-03NFSv4: Fix second deadlock in nfs4_evict_inode()Trond Myklebust1-2/+7
2021-06-03NFSv4: Fix deadlock between nfs4_evict_inode() and nfs4_opendata_get_inode()Trond Myklebust1-1/+11
2021-06-03NFS: Ensure the NFS_CAP_SECURITY_LABEL capability is set when appropriateScott Mayhew1-4/+4
2021-06-01NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error.Dai Ngo1-0/+8
2021-05-20fs/nfs: Use fatal_signal_pending instead of signal_pendingzhouchuangao1-2/+2
2021-05-07Merge tag 'nfs-for-5.13-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-113/+145
2021-05-07treewide: remove editor modelines and cruftMasahiro Yamada1-6/+0
2021-04-14NFS: Split attribute support out from the server capabilitiesTrond Myklebust1-24/+25
2021-04-14NFS: Don't store NFS_INO_REVAL_FORCEDTrond Myklebust1-4/+1
2021-04-14NFSv4: link must update the inode nlink.Trond Myklebust1-0/+9
2021-04-14NFSv4: nfs4_inc/dec_nlink_locked should also invalidate ctimeTrond Myklebust1-7/+11
2021-04-13NFS: Use information about the change attribute to optimise updatesTrond Myklebust1-3/+17
2021-04-13NFSv4: Add support for the NFSv4.2 "change_attr_type" attributeTrond Myklebust1-0/+1
2021-04-13NFS: Separate tracking of file mode cache validity from the uid/gidTrond Myklebust1-5/+9
2021-04-13NFS: Separate tracking of file nlinks cache validity from the mode/uid/gidTrond Myklebust1-6/+7
2021-04-13NFSv4: Fix nfs4_bitmap_copy_adjust()Trond Myklebust1-17/+16
2021-04-12NFS: Don't set NFS_INO_REVAL_PAGECACHE in the inode cache validityTrond Myklebust1-1/+0
2021-04-12NFS: Replace use of NFS_INO_REVAL_PAGECACHE when checking cache validityTrond Myklebust1-3/+2
2021-04-12NFS: Add a cache validity flag argument to nfs_revalidate_inode()Trond Myklebust1-3/+3
2021-04-12NFS: nfs4_bitmask_adjust() must not change the server global bitmasksTrond Myklebust1-22/+34
2021-04-05NFSv4: Simplify nfs4_retry_setlk()Trond Myklebust1-31/+23
2021-03-11nfs: we don't support removing system.nfs4_aclJ. Bruce Fields1-0/+3
2021-03-09NFSv4.2: fix return value of _nfs4_get_security_label()Ondrej Mosnacek1-1/+1
2021-03-08NFS: Fix open coded versions of nfs_set_cache_invalid() in NFSv4Trond Myklebust1-16/+12
2021-02-26Merge tag 'nfs-for-5.12-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-11/+10
2021-02-08NFSv4: Fixes for nfs4_bitmask_adjust()Trond Myklebust1-7/+8
2021-02-01nfs: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+2
2021-02-01fs/nfs: remove duplicate includeMenglong Dong1-4/+0
2021-01-24acl: handle idmapped mountsChristian Brauner1-0/+3
2021-01-10pNFS: We want return-on-close to complete when evicting the inodeTrond Myklebust1-16/+10
2021-01-06NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lockDave Wysochanski1-1/+1
2020-12-17Merge tag 'nfs-for-5.11-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-29/+42
2020-12-16NFSv4/pnfs: Add tracing for the deviceid cacheTrond Myklebust1-0/+2
2020-12-14NFSv4.2/pnfs: Don't use READ_PLUS with pNFS yetTrond Myklebust1-7/+8
2020-12-10NFS: Disable READ_PLUS by defaultAnna Schumaker1-1/+1
2020-12-02NFS: Handle NFS4ERR_NOT_SAME and NFSERR_BADCOOKIE from readdir callsTrond Myklebust1-0/+2
2020-12-02NFS: Allow the NFS generic code to pass in a verifier to readdirTrond Myklebust1-19/+17
2020-12-02NFSv4.2: condition READDIR's mask for security label based on LSM stateOlga Kornievskaia1-2/+8
2020-12-02NFSv4: Observe the NFS_MOUNT_SOFTREVAL flag in _nfs4_proc_lookuppTrond Myklebust1-1/+5
2020-10-16NFSv4.2: support EXCHGID4_FLAG_SUPP_FENCE_OPS 4.2 EXCHANGE_ID flagOlga Kornievskaia1-3/+6
2020-10-09NFSv4: Use the net namespace uniquifier if it is setTrond Myklebust1-4/+17
2020-10-09NFSv4: Clean up initialisation of uniquified client id stringsTrond Myklebust1-41/+34
2020-10-07NFS: Add READ_PLUS data segment supportAnna Schumaker1-3/+40
2020-10-02NFSv4: Wait for stateid updates after CLOSE/OPEN_DOWNGRADEBenjamin Coddington1-34/+47
2020-09-24NFSv4: make cache consistency bitmask dynamicOlga Kornievskaia1-3/+42
2020-09-21nfs4: strengthen error check to avoid unexpected resultChengguang Xu1-1/+1
2020-09-21NFS: remove redundant pointer clntColin Ian King1-3/+1
2020-09-09Merge tag 'nfs-for-5.9-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-2/+9
2020-09-05NFS: Zero-stateid SETATTR should first return delegationChuck Lever1-1/+3
2020-08-26NFSv4.1 handle ERR_DELAY error reclaiming locking state on delegation recallOlga Kornievskaia1-1/+6
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-16/+16
2020-08-15Merge tag 'nfs-for-5.9-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-33/+206
2020-08-12nfs: Fix getxattr kernel panic and memory overflowJeffrey Mitchell1-2/+0
2020-08-03Merge branches 'pm-sleep', 'pm-domains', 'powercap' and 'pm-tools'Rafael J. Wysocki1-1/+1
2020-07-17freezer: Add unsafe versions of freezable_schedule_timeout_interruptible for NFSHe Zhe1-1/+1
2020-07-14freezer: Add unsafe version of freezable_schedule_timeout_interruptible() for...He Zhe1-1/+1
2020-07-13NFSv4.2: add client side xattr caching.Frank van der Linden1-6/+36
2020-07-13NFSv4.2: hook in the user extended attribute handlersFrank van der Linden1-2/+121
2020-07-13nfs: make the buf_to_pages_noslab function available to the nfs codeFrank van der Linden1-2/+2
2020-07-13nfs: define and use the NFS_INO_INVALID_XATTR flagFrank van der Linden1-1/+2
2020-07-13nfs: modify update_changeattr to deal with regular filesFrank van der Linden1-26/+44
2020-07-13NFSv4.2: query the extended attribute access bitsFrank van der Linden1-0/+6
2020-07-13NFSv4.2: query the server for extended attribute supportFrank van der Linden1-1/+2
2020-07-13NFS: Fix interrupted slots by sending a solo SEQUENCE operationAnna Schumaker1-2/+18
2020-05-27NFSv4.1 fix rpc_call_done assignment for BIND_CONN_TO_SESSIONOlga Kornievskaia1-1/+1
2020-05-11NFS: Don't use RPC_TASK_CRED_NOREF with delegreturnTrond Myklebust1-1/+1
2020-04-28NFSv4.1: fix handling of backchannel binding in BIND_CONN_TO_SESSIONOlga Kornievskaia1-0/+8
2020-04-25NFSv4: Remove unreachable error condition due to rpc_run_task()Xiyu Yang1-2/+1
2020-04-07Merge tag 'nfs-for-5.7-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-7/+12
2020-04-03NFS/pnfs: Reference the layout cred in pnfs_prepare_layoutreturn()Trond Myklebust1-0/+1
2020-04-03NFS: Beware when dereferencing the delegation credTrond Myklebust1-0/+3
2020-03-31Merge tag 'selinux-pr-20200330' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-9/+3
2020-03-30NFS: Ensure security label is set for root inodeScott Mayhew1-9/+3
2020-03-16nfs: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-03-16NFSv4: Avoid unnecessary credential references in layoutgetTrond Myklebust1-1/+1
2020-03-16NFSv4: Avoid referencing the cred unnecessarily during NFSv4 I/OTrond Myklebust1-5/+5
2020-03-16NFS: Ensure we time out if a delegreturn does not completeTrond Myklebust1-1/+2
2020-02-13NFSv4.1 make cachethis=no for writesOlga Kornievskaia1-1/+1
2020-02-10NFSv4: Fix races between open and dentry revalidationTrond Myklebust1-2/+16
2020-02-04NFSv4.0: nfs4_do_fsinfo() should not do implicit lease renewalsRobert Milkowski1-4/+8
2020-02-04NFSv4: try lease recovery on NFS4ERR_EXPIREDRobert Milkowski1-0/+5
2020-01-24NFS: Add softreval behaviour to nfs_lookup_revalidate()Trond Myklebust1-10/+18
2020-01-15NFSv4.x recover from pre-mature loss of openstateidOlga Kornievskaia1-0/+2
2020-01-15NFSv4 fix acl retrieval over krb5i/krb5p mountsOlga Kornievskaia1-5/+13
2020-01-15NFS: Add mount option 'softreval'Trond Myklebust1-7/+26
2020-01-15NFS4: Remove unneeded semicolonzhengbin1-2/+2
2020-01-15NFS: Add fs_context support.David Howells1-1/+1
2019-11-18NFSv4: add declaration of current_stateidBen Dooks1-3/+3
2019-11-13NFSv4.x: Drop the slot if nfs4_delegreturn_prepare waits for layoutreturnTrond Myklebust1-1/+3
2019-11-13NFSv4.x: Handle bad/dead sessions correctly in nfs41_sequence_process()Trond Myklebust1-9/+25
2019-11-06Merge branch 'linux-ssc-for-5.5'Trond Myklebust1-3/+4
2019-11-03NFSv4: Don't retry the GETATTR on old stateid in nfs4_delegreturn_done()Trond Myklebust1-0/+4
2019-11-03NFSv4: Handle NFS4ERR_OLD_STATEID in delegreturnTrond Myklebust1-4/+3
2019-11-03NFSv4: nfs4_return_incompatible_delegation() should check delegation validityTrond Myklebust1-1/+1
2019-11-03NFSv4: Revoke the delegation on success in nfs4_delegreturn_done()Trond Myklebust1-0/+1
2019-11-03NFSv4: Fix delegation handling in update_open_stateid()Trond Myklebust1-2/+2
2019-11-01NFSv4: Don't allow a cached open with a revoked delegationTrond Myklebust1-5/+2
2019-10-10NFSv4: Fix leak of clp->cl_acceptor stringChuck Lever1-0/+1