aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/vfs.c
AgeCommit message (Expand)AuthorFilesLines
7 daysMerge tag 'vfs-6.19-rc1.directory.locking' of git://git.kernel.org/pub/scm/li...Linus Torvalds1-99/+58
7 daysMerge tag 'vfs-6.19-rc1.directory.delegations' of git://git.kernel.org/pub/sc...Linus Torvalds1-8/+8
11 daysnfsd: fix end_creating() conversionNeil Brown1-4/+2
2025-11-14VFS: change vfs_mkdir() to unlock on failure.NeilBrown1-4/+4
2025-11-14VFS/nfsd/ovl: introduce start_renaming() and end_renaming()NeilBrown1-48/+25
2025-11-14VFS/nfsd/cachefiles/ovl: introduce start_removing() and end_removing()NeilBrown1-16/+10
2025-11-14VFS/nfsd/cachefiles/ovl: add start_creating() and end_creating()NeilBrown1-31/+21
2025-11-12nfsd: allow filecache to hold S_IFDIR filesJeff Layton1-2/+3
2025-11-12vfs: make vfs_symlink break delegations on parent dirJeff Layton1-1/+1
2025-11-12vfs: make vfs_mknod break delegations on parent directoryJeff Layton1-1/+1
2025-11-12vfs: make vfs_create break delegations on parent directoryJeff Layton1-1/+1
2025-11-12vfs: clean up argument list for vfs_create()Jeff Layton1-2/+1
2025-11-12vfs: allow rmdir to wait for delegation break on parentJeff Layton1-1/+1
2025-11-12vfs: allow mkdir to wait for delegation break on parentJeff Layton1-1/+1
2025-10-20Coccinelle-based conversion to use ->i_state accessorsMateusz Guzik1-1/+1
2025-10-06Merge tag 'nfsd-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-1/+22
2025-10-01NFSD: Add io_cache_{read,write} controls to debugfsMike Snitzer1-0/+21
2025-09-29Merge tag 'vfs-6.18-rc1.async' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+1
2025-09-23VFS: unify old_mnt_idmap and new_mnt_idmap in renamedataNeilBrown1-2/+1
2025-09-21nfsd: ignore ATTR_DELEG when checking ia_valid before notify_change()Jeff Layton1-1/+1
2025-08-11Merge tag 'nfsd-6.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/...Linus Torvalds1-1/+9
2025-08-05nfsd: don't set the ctime on delegated atime updatesJeff Layton1-1/+9
2025-07-28Merge tag 'vfs-6.17-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+2
2025-07-14NFSD: Use vfs_iocb_iter_write()Chuck Lever1-5/+5
2025-07-14NFSD: Use vfs_iocb_iter_read()Chuck Lever1-2/+5
2025-06-16VFS: change old_dir and new_dir in struct renamedata to dentrysNeilBrown1-5/+2
2025-05-28Merge tag 'nfsd-6.16' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-20/+70
2025-05-15NFSD: Use rqstp->rq_bvec in nfsd_iter_write()Chuck Lever1-2/+3
2025-05-15NFSD: De-duplicate the svc_fill_write_vector() call sitesChuck Lever1-12/+40
2025-05-15NFSD: Use rqstp->rq_bvec in nfsd_iter_read()Chuck Lever1-7/+7
2025-05-11nfsd: add tracepoint for getattr and statfs eventsJeff Layton1-0/+2
2025-05-11nfsd: add tracepoint to nfsd_renameJeff Layton1-0/+2
2025-05-11nfsd: add tracepoints for unlink eventsJeff Layton1-0/+2
2025-05-11nfsd: add tracepoint to nfsd_link()Jeff Layton1-0/+2
2025-05-11nfsd: add tracepoint to nfsd_symlinkJeff Layton1-0/+2
2025-05-11nfsd: add nfsd_vfs_create tracepointsJeff Layton1-0/+2
2025-05-11nfsd: add a tracepoint to nfsd_lookup_dentryJeff Layton1-1/+1
2025-05-11nfsd: add a tracepoint for nfsd_setattrJeff Layton1-0/+2
2025-05-11nfsd: add commit start/done tracepoints around nfsd_commit()Jeff Layton1-0/+3
2025-05-11NFSD: Add experimental setting to disable the use of splice readChuck Lever1-0/+4
2025-04-07nfsd: Use lookup_one() rather than lookup_one_len()NeilBrown1-8/+9
2025-03-31Merge tag 'nfsd-6.15' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-27/+79
2025-03-10NFSD: Return NFS4ERR_FILE_OPEN only when linking an open fileChuck Lever1-13/+31
2025-03-10NFSD: Return NFS4ERR_FILE_OPEN only when renaming over an open fileChuck Lever1-4/+29
2025-03-10NFSD: Never return NFS4ERR_FILE_OPEN when removing a directoryChuck Lever1-6/+18
2025-03-10NFSD: nfsd_unlink() clobbers non-zero status returned from fh_fill_pre_attrs()Chuck Lever1-3/+1
2025-03-10nfsd: remove the redundant mapping of nfserr_mlinkLi Lingfeng1-1/+0
2025-03-05VFS: Change vfs_mkdir() to return the dentry.NeilBrown1-20/+11
2025-02-26nfsd: drop fh_update() from S_IFDIR branch of nfsd_create_locked()NeilBrown1-3/+0
2024-11-18nfsd: get rid of include ../internal.hAl Viro1-1/+0
2024-11-18nfsd: refine and rename NFSD_MAY_LOCKNeilBrown1-11/+1
2024-11-18nfsd: Fix NFSD_MAY_BYPASS_GSS and NFSD_MAY_BYPASS_GSS_ON_ROOTPali Rohár1-1/+1
2024-11-11NFSD: Remove unused function parameterChuck Lever1-7/+4
2024-11-07NFSD: Fix READDIR on NFSv3 mounts of ext4 exportsChuck Lever1-8/+5
2024-09-20nfsd: map the EBADMSG to nfserr_io to avoid warningLi Lingfeng1-0/+1
2024-09-20nfsd: Move error code mapping to per-version proc code.NeilBrown1-10/+4
2024-09-20nfsd: further centralize protocol version checks.NeilBrown1-6/+3
2024-09-20nfsd: Pass 'cred' instead of 'rqstp' to some functions.NeilBrown1-9/+12
2024-05-06nfsd: set security label during create operationsStephen Smalley1-1/+1
2024-03-28Merge tag 'nfsd-6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-1/+2
2024-03-22nfsd: Fix error cleanup path in nfsd_rename()Jan Kara1-1/+2
2024-03-12Merge tag 'lsm-pr-20240312' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+1
2024-03-05NFSD: Document nfsd_setattr() fill-attributes behaviorChuck Lever1-0/+7
2024-03-01nfsd: Fix NFSv3 atomicity bugs in nfsd_setattr()Trond Myklebust1-7/+13
2024-03-01nfsd: Fix a regression in nfsd_setattr()Trond Myklebust1-2/+7
2024-03-01nfsd: make all of the nfsd stats per-network namespaceJosef Bacik1-2/+4
2024-03-01nfsd: use __fput_sync() to avoid delayed closing of files.NeilBrown1-5/+37
2024-02-15ima: Move to LSM infrastructureRoberto Sassu1-7/+0
2024-02-15security: Introduce file_post_open hookRoberto Sassu1-0/+6
2024-01-11Merge tag 'pull-rename' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-0/+4
2024-01-10Merge tag 'nfsd-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-4/+42
2024-01-08Merge tag 'vfs-6.8.rw' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfsLinus Torvalds1-3/+4
2024-01-07NFSD: Replace RQ_SPLICE_OK in nfsd_read()Chuck Lever1-1/+25
2024-01-07NFSD: Document lack of f_pos_lock in nfsd_readdir()Chuck Lever1-3/+17
2023-12-15cred: get rid of CONFIG_DEBUG_CREDENTIALSJens Axboe1-8/+1
2023-11-25rename(): avoid a deadlock in the case of parents having no common ancestorAl Viro1-0/+4
2023-11-24fs: move file_start_write() into vfs_iter_write()Amir Goldstein1-2/+0
2023-11-24splice: move permission hook out of splice_direct_to_actor()Amir Goldstein1-1/+4
2023-10-30Merge tag 'nfsd-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-25/+36
2023-10-30Merge tag 'vfs-6.7.ctime' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+1
2023-10-18nfsd: convert to new timestamp accessorsJeff Layton1-1/+1
2023-10-17nfsd: lock_rename() needs both directories to live on the same fsAl Viro1-6/+6
2023-10-16nfsd: Don't reset the write verifier on a commit EAGAINTrond Myklebust1-10/+23
2023-10-16nfsd: Handle EOPENSTALE correctly in the filecacheTrond Myklebust1-15/+13
2023-08-31Merge tag 'nfsd-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-17/+35
2023-08-29nfsd: handle failure to collect pre/post-op attrs more sanelyJeff Layton1-17/+35
2023-08-28Merge tag 'v6.6-vfs.ctime' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-1/+1
2023-08-03Merge tag 'nfsd-6.5-3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-3/+6
2023-07-30nfsd: Fix reading via spliceDavid Howells1-3/+6
2023-07-24nfsd: convert to ctime accessor functionsJeff Layton1-1/+1
2023-06-28Merge tag 'net-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+1
2023-06-24sock: Remove ->sendpage*() in favour of sendmsg(MSG_SPLICE_PAGES)David Howells1-1/+1
2023-06-11NFSD: Remove nfsd_readv()Chuck Lever1-15/+0
2023-06-11NFSD: Hoist rq_vec preparation into nfsd_read() [step two]Chuck Lever1-1/+12
2023-06-11NFSD: Hoist rq_vec preparation into nfsd_read()Chuck Lever1-8/+60
2023-06-05nfsd: use vfs setgid helperChristian Brauner1-1/+3
2023-05-23nfsd: make a copy of struct iattr before calling notify_changeJeff Layton1-1/+9
2023-04-27NFSD: Clean up xattr memory allocation flagsChuck Lever1-5/+2
2023-04-26NFSD: Watch for rq_pages bounds checking errors in nfsd_splice_actor()Chuck Lever1-1/+5
2023-03-21Merge tag 'nfsd-6.3-3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/l...Linus Torvalds1-1/+8
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-07NFSD: Protect against filesystem freezingChuck Lever1-0/+2
2023-02-22Merge tag 'nfsd-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-2/+6
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-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-7/+7
2023-01-19fs: port ->set_acl() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-18fs: port vfs_*() helpers to struct mnt_idmapChristian Brauner1-11/+12
2022-12-12Merge tag 'nfsd-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-14/+69
2022-12-12Merge tag 'fs.acl.rework.v6.2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2022-12-12Merge tag 'pull-iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2022-11-28NFSD: Add an NFSD_FILE_GC flag to enable nfsd_file garbage collectionChuck Lever1-2/+2
2022-11-28NFSD: Pass the target nfsd_file to nfsd_commit()Chuck Lever1-11/+4
2022-11-28nfsd: move nfserrno() to vfs.cJeff Layton1-0/+63
2022-11-28NFSD: Remove redundant assignment to variable host_errColin Ian King1-1/+0
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-10-19fs: pass dentry to set acl methodChristian Brauner1-2/+2
2022-10-06Merge tag 'pull-file' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-3/+3
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: drop fname and flen args from nfsd_create_locked()NeilBrown1-3/+2
2022-09-13Merge tag 'pull-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-4/+8
2022-09-12nfsd_splice_actor(): handle compound pagesAl Viro1-4/+8
2022-09-08NFSD: fix regression with setting ACLs.NeilBrown1-10/+9
2022-08-17Change calling conventions for filldir_tAl Viro1-3/+3
2022-08-04NFSD: discard fh_locked flag and fh_lock/fh_unlockNeilBrown1-16/+1
2022-08-04NFSD: use (un)lock_inode instead of fh_(un)lock for file operationsNeilBrown1-14/+20
2022-08-04NFSD: use explicit lock/unlock for directory opsNeilBrown1-11/+19
2022-08-04NFSD: reduce locking in nfsd_lookup()NeilBrown1-20/+14
2022-08-04NFSD: only call fh_unlock() once in nfsd_link()NeilBrown1-9/+10
2022-08-04NFSD: always drop directory lock in nfsd_unlink()NeilBrown1-2/+5
2022-08-04NFSD: change nfsd_create()/nfsd_symlink() to unlock directory before returning.NeilBrown1-17/+21
2022-08-04NFSD: add posix ACLs to struct nfsd_attrsNeilBrown1-0/+9
2022-07-29NFSD: add security label to struct nfsd_attrsNeilBrown1-26/+3
2022-07-29NFSD: set attributes when creating symlinksNeilBrown1-7/+18
2022-07-29NFSD: introduce struct nfsd_attrsNeilBrown1-10/+14
2022-07-02Merge tag 'nfsd-5.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/...Linus Torvalds1-1/+2
2022-06-30vfs: fix copy_file_range() regression in cross-fs copiesAmir Goldstein1-1/+7
2022-06-27NFSD: restore EINVAL error translation in nfsd_commit()Alexey Khoroshilov1-1/+2
2022-05-20NFSD: Clean up nfsd_open_verified()Chuck Lever1-3/+12
2022-05-20NFSD: Remove do_nfsd_create()Chuck Lever1-150/+0
2022-05-20NFSD: Refactor nfsd_create_setattr()Chuck Lever1-37/+42
2022-05-20NFSD: Avoid calling fh_drop_write() twice in do_nfsd_create()Chuck Lever1-4/+1
2022-05-19NFSD: Clean up nfsd_splice_actor()Chuck Lever1-8/+2
2022-03-22Merge tag 'folio-5.18c' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-0/+1
2022-03-21fs: Move many prototypes to pagemap.hMatthew Wilcox (Oracle)1-0/+1
2022-03-11NFSD: Remove CONFIG_NFSD_V3Chuck Lever1-9/+0
2022-02-09NFSD: COMMIT operations must not return NFS?ERR_INVALChuck Lever1-17/+36
2022-02-09NFSD: Fix ia_size underflowChuck Lever1-0/+4
2022-01-08NFSD: Move fill_pre_wcc() and fill_post_wcc()Chuck Lever1-4/+4
2022-01-08NFSD: Trace boot verifier resetsChuck Lever1-3/+10
2022-01-08NFSD: Rename boot verifier functionsChuck Lever1-8/+8
2022-01-08nfsd: Add a tracepoint for errors in nfsd4_clone_file_range()Trond Myklebust1-2/+16
2022-01-08NFSD: De-duplicate net_generic(nf->nf_net, nfsd_net_id)Chuck Lever1-6/+5
2022-01-08NFSD: De-duplicate net_generic(SVC_NET(rqstp), nfsd_net_id)Chuck Lever1-7/+4
2022-01-08NFSD: Clean up nfsd_vfs_write()Chuck Lever1-16/+5
2022-01-08nfsd: Replace use of rwsem with errseq_tTrond Myklebust1-25/+15
2022-01-08NFSD: Fix verifier returned in stable WRITEsChuck Lever1-0/+4
2022-01-08nfsd: Retry once in nfsd_open on an -EOPENSTALE returnJeff Layton1-1/+9
2021-11-01nfsd4: remove obselete commentJ. Bruce Fields1-3/+0
2021-10-15nfsd: update create verifier commentJ. Bruce Fields1-1/+2
2021-10-02NFSD: move filehandle format declarations out of "uapi".NeilBrown1-0/+1
2021-08-31Merge tag 'nfsd-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds1-16/+5
2021-08-23fs: remove mandatory file locking supportJeff Layton1-22/+1
2021-08-17NFSD: remove vanity commentsNeilBrown1-1/+0
2021-08-17NFSD: Batch release pages during splice readChuck Lever1-7/+2
2021-08-17NFSD: Clean up splice actorChuck Lever1-8/+3
2021-07-06nfsd: Reduce contention for the nfsd_file nf_rwsemTrond Myklebust1-2/+16
2021-05-25nfsd: move some commit_metadata()s outside the inode lockJ. Bruce Fields1-2/+3
2021-05-25nfsd: Prevent truncation of an unlinked inode from blocking access to its dir...Yu Hsiang Huang1-0/+5
2021-03-22NFSD: Add a tracepoint to record directory entry encodingChuck Lever1-3/+6
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-19/+31
2021-01-25nfsd: report per-export statsAmir Goldstein1-2/+2
2021-01-25nfsd: protect concurrent access to nfsd stats countersAmir Goldstein1-2/+2
2021-01-24namei: prepare for idmapped mountsChristian Brauner1-8/+11
2021-01-24namei: introduce struct renamedataChristian Brauner1-1/+7
2021-01-24xattr: handle idmapped mountsTycho Andersen1-6/+8
2021-01-24attr: handle idmapped mountsChristian Brauner1-2/+2
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-2/+3
2020-12-09nfsd: Set PF_LOCAL_THROTTLE on local filesystems onlyTrond Myklebust1-2/+11
2020-12-09nfsd: close cached files prior to a REMOVE or RENAME that would replace targetJeff Layton1-7/+9
2020-09-25NFSD: Correct type annotations in user xattr helpersChuck Lever1-2/+4
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-2/+2
2020-07-13nfsd: take xattr bits into account for permission checksFrank van der Linden1-0/+12
2020-07-13nfsd: define xattr functions to call into their vfs counterpartsFrank van der Linden1-0/+227
2020-06-17nfsd: apply umask on fs without ACL supportJ. Bruce Fields1-0/+6
2020-06-02mm/writeback: replace PF_LESS_THROTTLE with PF_LOCAL_THROTTLENeilBrown1-4/+5
2020-01-22nfsd: Ensure sampling of the write verifier is atomic with the writeTrond Myklebust1-3/+9
2020-01-22nfsd: Ensure sampling of the commit verifier is atomic with the commitTrond Myklebust1-2/+6
2020-01-22nfsd: Ensure exclusion between CLONE and WRITE errorsTrond Myklebust1-7/+18
2020-01-22nfsd: Pass the nfsd_file as arguments to nfsd4_clone_file_range()Trond Myklebust1-2/+4
2020-01-22nfsd: Update the boot verifier on stable writes too.Trond Myklebust1-1/+4
2020-01-22nfsd: Fix stable writesTrond Myklebust1-2/+16