aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/vfs.c
AgeCommit message (Expand)AuthorFilesLines
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
2020-01-22nfsd: Allow nfsd_vfs_write() to take the nfsd_file as an argumentTrond Myklebust1-2/+3
2020-01-03nfsd: use true,false for bool variable in vfs.czhengbin1-3/+3
2019-12-19nfsd: pass a 64-bit guardtime to nfsd_setattr()Arnd Bergmann1-2/+2
2019-12-19nfsd: Clone should commit src file metadata tooTrond Myklebust1-5/+14
2019-12-17nfsd: Return the correct number of bytes written to the fileTrond Myklebust1-0/+1
2019-11-30nfsd: check for EBUSY from vfs_rmdir/vfs_unink.NeilBrown1-1/+11
2019-11-30nfsd: Ensure CLONE persists data and metadata changes to the target fileTrond Myklebust1-1/+7
2019-09-23nfsd: fix nfs read eof detectionTrond Myklebust1-11/+26
2019-09-10nfsd: Reset the boot verifier on all write I/O errorsTrond Myklebust1-4/+15
2019-08-19nfsd: close cached files prior to a REMOVE or RENAME that would replace targetJeff Layton1-9/+53
2019-08-19nfsd: rip out the raparms cacheJeff Layton1-149/+0
2019-08-19nfsd: hook nfsd_commit up to the nfsd_file cacheJeff Layton1-7/+7
2019-08-19nfsd: hook up nfsd_read to the nfsd_file cacheJeff Layton1-7/+4
2019-08-19nfsd: hook up nfsd_write to the new nfsd_file cacheJeff Layton1-5/+7
2019-08-19nfsd: add a new struct file caching facility to nfsdJeff Layton1-22/+43
2019-07-03nfsd: Spelling s/EACCESS/EACCES/Geert Uytterhoeven1-1/+1
2019-04-24nfsd: fh_drop_write in nfsd_unlinkJ. Bruce Fields1-3/+5
2019-02-06nfsd: Fix error return values for nfsd4_clone_file_range()Trond Myklebust1-2/+4
2018-12-04nfsd: Return EPERM, not EACCES, in some SETATTR caseszhengbin1-2/+15
2018-11-02Merge tag 'xfs-4.20-merge-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-2/+6
2018-11-01Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-2/+2
2018-10-30Merge tag 'nfsd-4.20' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-3/+2
2018-10-30vfs: plumb remap flags through the vfs clone functionsDarrick J. Wong1-1/+1
2018-10-30vfs: make remap_file_range functions take and return bytes completedDarrick J. Wong1-2/+6
2018-10-29nfsd: fix fall-through annotationsGustavo A. R. Silva1-1/+2
2018-10-24iov_iter: Separate type from direction and use accessor functionsDavid Howells1-2/+2
2018-09-25nfsd: remove set but not used variable 'dirp'YueHaibing1-2/+0
2018-09-24vfs: swap names of {do,vfs}_clone_file_range()Amir Goldstein1-1/+2
2018-07-12IMA: don't propagate opened through the entire thingAl Viro1-1/+1
2018-05-21nfsd: vfs_mkdir() might succeed leaving dentry negative unhashedAl Viro1-0/+22
2018-04-03nfsd: Add I/O trace points in the NFSv4 read procChuck Lever1-16/+18
2018-04-03nfsd: Add I/O trace points in the NFSv4 write pathChuck Lever1-11/+12
2018-04-03nfsd: Add "nfsd_" to trace point namesChuck Lever1-8/+8
2018-04-03nfsd: Record request byte count, not count of vectorsChuck Lever1-8/+8
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-08-31annotate RWF_... flagsChristoph Hellwig1-1/+1
2017-07-05Merge branch 'work.read_write' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-21/+13
2017-06-29nfsd: remove nfsd_vfs_readChristoph Hellwig1-11/+6
2017-06-29nfsd: use vfs_iter_read/writeChristoph Hellwig1-10/+7
2017-05-27nfsd_readlink(): switch to vfs_get_link()Al Viro1-23/+16
2017-05-10Merge tag 'nfsd-4.12' of git://linux-nfs.org/~bfields/linuxLinus Torvalds1-4/+20
2017-04-25NFS: don't try to cross a mountpount when there isn't one there.NeilBrown1-4/+20
2017-04-11sched/core: Remove 'task' parameter and rename tsk_restore_flags() to current...NeilBrown1-1/+1
2017-02-21nfsd: special case truncates some moreChristoph Hellwig1-6/+26
2017-02-20nfsd: minor nfsd_setattr cleanupChristoph Hellwig1-17/+12
2017-02-20nfsd: merge stable fix into main nfsd branchJ. Bruce Fields1-37/+60
2017-02-09nfsd: Revert "nfsd: special case truncates some more"J. Bruce Fields1-37/+60
2017-01-31NFSD: Remove unused value inode in nfsd_vfs_writeKinglong Mee1-4/+1
2017-01-31NFSD: cleanup dead codes and values in nfsd_writeKinglong Mee1-24/+11
2017-01-31NFSD: pass an integer for stable type to nfsd_vfs_writeKinglong Mee1-6/+5
2017-01-31nfsd: special case truncates some moreChristoph Hellwig1-60/+37
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-17Merge uncontroversial parts of branch 'readlink' of git://git.kernel.org/pub/...Linus Torvalds1-4/+2
2016-12-16vfs: call vfs_clone_file_range() under freeze protectionAmir Goldstein1-2/+1
2016-12-09vfs: replace calling i_op->readlink with vfs_readlink()Miklos Szeredi1-4/+2
2016-10-07NFSD: Implement the COPY callAnna Schumaker1-0/+16
2016-08-11nfsd: fix dentry refcounting on createJosef Bacik1-3/+6
2016-08-04nfsd: remove some dead code in nfsd_create_locked()Dan Carpenter1-3/+2
2016-08-04nfsd: drop unnecessary MAY_EXEC check from createJ. Bruce Fields1-5/+1