aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/dir.c
AgeCommit message (Expand)AuthorFilesLines
8 daysMerge tag 'nfs-for-7.2-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-3/+3
2026-06-15Merge tag 'pull-dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-4/+2
2026-06-09NFS: correct CONFIG_NFS_V4 macro name in #endif commentEthan Nelson-Moore1-1/+1
2026-06-08nfs: remove nfs_compat_user_ino64() and deprecate enable_ino64Jeff Layton1-1/+1
2026-06-08nfs: store the full NFS fileid in inode->i_inoJeff Layton1-1/+1
2026-06-05VFS: use wait_var_event for waiting in d_alloc_parallel()NeilBrown1-4/+2
2026-05-21openat2: new OPENAT2_REGULAR flag supportDorjoy Chowdhury1-0/+4
2026-04-21Merge tag 'pull-dcache-busy-wait' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2026-04-15Merge tag 'mm-stable-2026-04-13-21-45' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+0
2026-04-05fs: remove unncessary pagevec.h includesTal Zussman1-1/+0
2026-04-02struct dentry: make ->d_u anonymousAl Viro1-1/+1
2026-04-02for_each_alias(): helper macro for iterating through dentries of given inodeAl Viro1-1/+1
2026-03-06treewide: change inode->i_ino from unsigned long to u64Jeff Layton1-10/+10
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds1-5/+5
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-6/+6
2026-02-09fs/nfs: Fix readdir slow-start regressionSagi Grimberg1-2/+2
2026-01-04NFSv4: Fix nfs_clear_verifier_delegated() for delegated directoriesTrond Myklebust1-8/+49
2026-01-04NFS: Fix directory delegation verifier checksAnna Schumaker1-19/+2
2025-11-23NFS: Shortcut lookup revalidations if we have a directory delegationAnna Schumaker1-0/+19
2025-11-19NFS: Initialise verifiers for visible dentries in nfs_atomic_open()Trond Myklebust1-1/+1
2025-11-19NFS: Initialise verifiers for visible dentries in readdir and lookupTrond Myklebust1-2/+4
2025-11-17NFS: Avoid changing nlink when file removes and attribute updates raceTrond Myklebust1-6/+13
2025-11-10NFSv2/v3: Fix error handling in nfs_atomic_open_v23()Trond Myklebust1-3/+4
2025-10-03Merge tag 'nfs-for-6.18-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-4/+4
2025-09-23NFS: Update readdir to use a scratch folioAnna Schumaker1-4/+4
2025-09-16slightly simplify nfs_atomic_open()Al Viro1-2/+0
2025-09-16simplify nfs_atomic_open_v23()Al Viro1-11/+5
2025-07-22NFS: Fix wakeup of __nfs_lookup_revalidate() in unblock_revalidate()Trond Myklebust1-3/+1
2025-05-16NFS: Avoid flushing data while holding directory locks in nfs_rename()Trond Myklebust1-1/+14
2025-04-02Merge tag 'nfs-for-6.15-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-0/+2
2025-03-21NFS: Extend rdirplus mount option with "force|none"Benjamin Coddington1-0/+2
2025-03-05nfs: change mkdir inode_operation to return alternate dentry if needed.NeilBrown1-9/+4
2025-02-27Change inode_operations.mkdir to return struct dentry *NeilBrown1-4/+4
2025-02-19VFS: add common error checks to lookup_one_qstr_excl()NeilBrown1-1/+2
2025-01-27nfs: fix ->d_revalidate() UAF on ->d_name accessesAl Viro1-6/+8
2025-01-27nfs{,4}_lookup_validate(): use stable parent inode passed by callerAl Viro1-30/+13
2025-01-27Pass parent directory inode and expected name to ->d_revalidate()Al Viro1-3/+6
2024-09-23nfs: Annotate struct nfs_cache_array with __counted_by()Thorsten Blum1-3/+3
2024-07-08NFSv4: Add a flags argument to the 'have_delegation' callbackTrond Myklebust1-1/+1
2024-05-30NFS: add barriers when testing for NFS_FSDATA_BLOCKEDNeilBrown1-15/+32
2024-05-30NFS: abort nfs_atomic_open_v23 if name is too long.NeilBrown1-0/+3
2024-05-24nfs: don't invalidate dentries on transient errorsScott Mayhew1-14/+13
2024-05-20NFS: add atomic_open for NFSv3 to handle O_TRUNC correctly.NeilBrown1-3/+51
2024-02-25nfs: make nfs_set_verifier() safe for use in RCU pathwalkAl Viro1-2/+2
2024-01-04nfs: add new tracepoint at nfs4 revalidate entry pointJeff Layton1-0/+2
2024-01-04NFS: Use parent's objective cred in nfs_access_login_time()Scott Mayhew1-1/+1
2023-11-01nfs: Convert nfs_symlink() to use a folioMatthew Wilcox (Oracle)1-17/+12
2023-08-24nfs: fix redundant readdir request after get eofKinglong Mee1-4/+11
2023-05-19NFS: Convert kmap_atomic() to kmap_local_folio()Fabio M. De Francesco1-2/+2
2023-05-09nfs: fix another case of NULL/IS_ERR confusion wrt folio pointersLinus Torvalds1-1/+1
2023-05-06nfs: fix mis-merged __filemap_get_folio() error checkLinus Torvalds1-1/+1
2023-04-12NFS: Convert readdir page array functions to use a folioAnna Schumaker1-102/+99
2023-04-12NFS: Convert the readdir array-of-pages into an array-of-foliosAnna Schumaker1-64/+65
2023-03-14NFS: Correct timing for assigning access cache timestampChengen Du1-1/+1
2023-02-22Merge tag 'nfs-for-6.3-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-14/+14
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-7/+7
2023-02-15fs/nfs: Replace kmap_atomic() with kmap_local_page() in dir.cFabio M. De Francesco1-14/+14
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->rename() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->mknod() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->mkdir() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->symlink() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->create() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-01NFS: Fix up a sparse warningTrond Myklebust1-1/+3
2023-01-01NFS: Judge the file access cache's timestamp in rcu pathChengen Du1-0/+3
2022-11-27NFS: Trigger the "ls -l" readdir heuristic soonerBenjamin Coddington1-2/+7
2022-11-27NFS: Clear the file access cache upon loginTrond Myklebust1-0/+23
2022-10-27nfs: Remove redundant null checks before kfreeYushan Zhou1-3/+2
2022-10-06Merge tag 'pull-file_inode' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2022-09-01nfs_finish_open(): don't open-code file_inode()Al Viro1-1/+1
2022-08-19NFS: unlink/rmdir shouldn't call d_delete() twice on ENOENTNeilBrown1-1/+2
2022-08-13NFS: Fix missing unlock in nfs_unlink()Sun Ke1-1/+3
2022-08-08NFS: don't unhash dentry during unlink/renameNeilBrown1-18/+54
2022-07-12nfs: Replace kmap() with kmap_local_page()Fabio M. De Francesco1-2/+2
2022-07-10NFS: Fix case insensitive renamesTrond Myklebust1-0/+4
2022-06-15NFSv4: Add FMODE_CAN_ODIRECT after successful open of a NFS4.x fileDave Wysochanski1-0/+1
2022-05-09nfs: Convert to free_folioMatthew Wilcox (Oracle)1-2/+7
2022-04-07NFS: Replace readdir's use of xxhash() with hash_64()Trond Myklebust1-6/+3
2022-03-29NFSv4: fix open failure with O_ACCMODE flagChenXiaoSong1-10/+0
2022-03-22NFS: Fix revalidation of empty readdir pagesTrond Myklebust1-2/+7
2022-03-22NFS: Don't deadlock when cookie hashes collideTrond Myklebust1-11/+18
2022-03-02NFS: Cache all entries in the readdirplus replyTrond Myklebust1-14/+26
2022-03-02NFS: Optimise away the previous cookie fieldTrond Myklebust1-12/+14
2022-03-02NFS: Fix up forced readdirplusTrond Myklebust1-17/+39
2022-03-02NFS: Convert readdir page cache to use a cookie based indexTrond Myklebust1-84/+65
2022-03-02NFS: Clean up page array initialisation/freeTrond Myklebust1-10/+6
2022-03-02NFS: Trace effects of the readdirplus heuristicTrond Myklebust1-1/+10
2022-03-02NFS: Trace effects of readdirplus on the dcacheTrond Myklebust1-0/+5
2022-03-02NFS: Add basic readdir tracingTrond Myklebust1-1/+12
2022-03-02NFS: Don't request readdirplus when revalidation was forcedTrond Myklebust1-10/+16
2022-03-02NFS: Readdirplus can't help lookup for case insensitive filesystemsTrond Myklebust1-0/+2
2022-03-02NFS: Improve heuristic for readdirplusTrond Myklebust1-29/+51
2022-03-02NFS: Reduce use of uncached readdirTrond Myklebust1-20/+3
2022-03-02NFS: Simplify nfs_readdir_xdr_to_array()Trond Myklebust1-18/+11
2022-03-02NFS: If the cookie verifier changes, we must invalidate the page cacheTrond Myklebust1-1/+6
2022-03-02NFS: Adjust the amount of readahead performed by NFS readdirTrond Myklebust1-1/+52
2022-03-02NFS: Don't advance the page pointer unless the page is fullTrond Myklebust1-10/+22
2022-03-02NFS: Don't re-read the entire page cache to find the next cookieTrond Myklebust1-3/+7
2022-03-02NFS: Store the change attribute in the directory page cacheTrond Myklebust1-31/+37
2022-02-28NFS: Calculate page offsets algorithmicallyTrond Myklebust1-5/+13
2022-02-28NFS: Use kzalloc() to avoid initialising the nfs_open_dir_contextTrond Myklebust1-7/+4
2022-02-28NFS: Initialise the readdir verifier as best we can in nfs_opendir()Trond Myklebust1-0/+1
2022-02-28NFS: Trace lookup revalidation failureTrond Myklebust1-12/+5
2022-02-25NFS: Clean up NFSv4.2 xattrsTrond Myklebust1-5/+2
2022-02-25NFSv4.1 support for NFS4_RESULT_PRESERVER_UNLINKEDOlga Kornievskaia1-2/+8
2022-02-25NFS: Charge open/lock file contexts to kmemcgTrond Myklebust1-1/+1
2022-02-14NFS: LOOKUP_DIRECTORY is also ok with symlinksTrond Myklebust1-2/+2
2022-02-02NFS: Avoid duplicate uncached readdir calls on eofTrond Myklebust1-5/+15
2022-02-02NFS: Don't skip directory entries when doing uncached readdirtrondmy@kernel.org1-0/+1
2022-02-02NFS: Don't overfill uncached readdir pagestrondmy@kernel.org1-1/+2
2022-01-25Merge tag 'nfs-for-5.17-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-28/+118
2022-01-07NFSv4: nfs_atomic_open() can race when looking up a non-regular fileTrond Myklebust1-0/+5
2022-01-07NFSv4: Handle case where the lookup of a directory failsTrond Myklebust1-0/+13
2022-01-06NFS: Fix the verifier for case sensitive filesystem in nfs_atomic_open()Trond Myklebust1-1/+6
2022-01-06NFS: Add a helper to remove case-insensitive aliasesTrond Myklebust1-1/+11
2022-01-06NFS: Invalidate negative dentries on all case insensitive directory changesTrond Myklebust1-4/+15
2022-01-06NFSv4: Just don't cache negative dentries on case insensitive serversTrond Myklebust1-0/+3
2022-01-06NFS: Ensure the server has an up to date ctime before renamingTrond Myklebust1-0/+2
2022-01-06NFS: Ensure the server has an up to date ctime before hardlinkingTrond Myklebust1-0/+2
2022-01-06NFS: don't store 'struct cred *' in struct nfs_access_entryNeilBrown1-6/+44
2022-01-06NFS: pass cred explicitly for access testsNeilBrown1-7/+10
2022-01-06NFS: change nfs_access_get_cached to only report the maskNeilBrown1-11/+9
2021-12-29net: Don't include filter.h from net/sock.hJakub Kicinski1-0/+1
2021-11-05NFS: Remove the nfs4_label argument from nfs_setsecurityAnna Schumaker1-3/+2
2021-11-05NFS: Remove the nfs4_label argument from nfs_fhget()Anna Schumaker1-3/+3
2021-11-05NFS: Remove the nfs4_label argument from nfs_add_or_obtain()Anna Schumaker1-4/+3
2021-11-05NFS: Remove the nfs4_label argument from nfs_instantiate()Anna Schumaker1-3/+2
2021-11-05NFS: Remove the nfs4_label from the nfs4_getattr_resAnna Schumaker1-1/+1
2021-11-05NFS: Remove the label from the nfs4_lookup_res structAnna Schumaker1-22/+12
2021-11-05NFS: Remove the nfs4_label from the nfs_entry structAnna Schumaker1-14/+7
2021-11-05NFS: Don't trace an uninitialised valueTrond Myklebust1-1/+1
2021-10-03NFS: Do not flush the readdir cache in nfs_dentry_iput()Trond Myklebust1-4/+0
2021-10-03NFS: Fix dentry verifier racesTrond Myklebust1-4/+3
2021-10-03NFS: Further optimisations for 'ls -l'Trond Myklebust1-5/+11
2021-10-03NFS: Fix up nfs_readdir_inode_mapping_valid()Trond Myklebust1-1/+2
2021-10-03NFS: Ignore the directory size when marking for revalidationTrond Myklebust1-1/+1
2021-10-03NFS: Label the dentry with a verifier in nfs_rmdir() and nfs_unlink()Trond Myklebust1-3/+15
2021-10-03NFS: Label the dentry with a verifier in nfs_link(), nfs_symlink()Trond Myklebust1-0/+3
2021-05-07Merge tag 'nfs-for-5.13-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-10/+19
2021-05-07treewide: remove editor modelines and cruftMasahiro Yamada1-7/+0
2021-04-14NFSv4: link must update the inode nlink.Trond Myklebust1-1/+1
2021-04-13NFS: Separate tracking of file mode cache validity from the uid/gidTrond Myklebust1-2/+3
2021-04-13NFS: Separate tracking of file nlinks cache validity from the mode/uid/gidTrond Myklebust1-1/+1
2021-04-12NFS: Add a cache validity flag argument to nfs_revalidate_inode()Trond Myklebust1-1/+1
2021-04-05NFS: Only change the cookie verifier if the directory page cache is emptyTrond Myklebust1-1/+6
2021-04-05NFS: Fix handling of cookie verifier in uncached_readdir()Trond Myklebust1-6/+7
2021-04-05nfs: Subsequent READDIR calls should carry non-zero cookieverifierNagendra S Tomar1-0/+2
2021-03-08NFS: Fix open coded versions of nfs_set_cache_invalid()Trond Myklebust1-10/+10
2021-03-08NFS: Clean up function nfs_mark_dir_for_revalidate()Trond Myklebust1-3/+1
2021-03-08NFS: Don't gratuitously clear the inode cache when lookup failedTrond Myklebust1-12/+8
2021-03-08NFS: Don't revalidate the directory permissions on a lookup failureTrond Myklebust1-3/+17
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-9/+14
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-1/+1
2020-12-17Merge tag 'nfs-for-5.11-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-256/+455
2020-12-02NFS: Do uncached readdir when we're seeking a cookie in an empty page cacheTrond Myklebust1-0/+17
2020-12-02NFS: Reduce number of RPC calls when doing uncached readdirTrond Myklebust1-36/+69
2020-12-02NFS: Optimisations for monotonically increasing readdir cookiesTrond Myklebust1-1/+22
2020-12-02NFS: Improve handling of directory verifiersTrond Myklebust1-12/+23
2020-12-02NFS: Handle NFS4ERR_NOT_SAME and NFSERR_BADCOOKIE from readdir callsTrond Myklebust1-8/+16
2020-12-02NFS: Allow the NFS generic code to pass in a verifier to readdirTrond Myklebust1-5/+18
2020-12-02NFS: Cleanup to remove nfs_readdir_descriptor_t typedefTrond Myklebust1-17/+13
2020-12-02NFS: Reduce readdir stack usageTrond Myklebust1-25/+33
2020-12-02NFS: nfs_do_filldir() does not return a valueTrond Myklebust1-14/+7
2020-12-02NFS: More readdir cleanupsTrond Myklebust1-14/+11
2020-12-02NFS: Support larger readdir buffersTrond Myklebust1-14/+19
2020-12-02NFS: Simplify struct nfs_cache_array_entryTrond Myklebust1-21/+25
2020-12-02NFS: Replace kmap() with kmap_atomic() in nfs_readdir_search_array()Trond Myklebust1-2/+2
2020-12-02NFS: Remove unnecessary kmap in nfs_readdir_xdr_to_array()Trond Myklebust1-7/+3
2020-12-02NFS: Don't discard readdir resultsTrond Myklebust1-4/+42
2020-12-02NFS: Clean up directory array handlingTrond Myklebust1-61/+77
2020-12-02NFS: Clean up nfs_readdir_page_filler()Trond Myklebust1-21/+18
2020-12-02NFS: Clean up readdir struct nfs_cache_arrayTrond Myklebust1-17/+49
2020-12-02NFS: Ensure contents of struct nfs_open_dir_context are consistentTrond Myklebust1-29/+43
2020-11-30SUNRPC: Add xdr_set_scratch_page() and xdr_reset_scratch_buffer()Chuck Lever1-1/+1
2020-11-12NFS: Remove unnecessary inode lock in nfs_fsync_dir()Trond Myklebust1-5/+1
2020-11-12NFS: Remove unnecessary inode locking in nfs_llseek_dir()Trond Myklebust1-5/+4
2020-09-16nfs: Fix security label length not being resetJeffrey Mitchell1-0/+3
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-13NFSv4.2: query the extended attribute access bitsFrank van der Linden1-0/+4
2020-07-13nfs: define nfs_access_get_cached functionFrank van der Linden1-4/+16
2020-04-07Merge tag 'nfs-for-5.7-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-29/+50
2020-04-06NFS: Clean up process of marking inode stale.Trond Myklebust1-2/+3
2020-03-24Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-1/+1
2020-03-16nfs: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-1/+1
2020-03-16NFS:remove redundant call to nfs_do_accessZhouyi Zhou1-8/+1
2020-03-16NFS: Limit the size of the access cache by defaultTrond Myklebust1-1/+1
2020-03-16NFS: Use the 64-bit server readdir cookies when possibleTrond Myklebust1-17/+44
2020-02-20nfs: Fix nfs_access_get_cached_rcu() sparse errorMadhuparna Bhowmik1-1/+1
2020-02-12NFSv4: Fix revalidation of dentries with delegationsTrond Myklebust1-3/+102
2020-02-10NFS: Fix up directory verifier racesTrond Myklebust1-7/+14
2020-02-04nfs: optimise readdir cache page invalidationDai Ngo1-2/+7
2020-02-03NFS: Switch readdir to using iterate_shared()Trond Myklebust1-1/+1
2020-02-03NFS: Use kmemdup_nul() in nfs_readdir_make_qstr()Trond Myklebust1-1/+1
2020-02-03NFS: Directory page cache pages need to be locked when readTrond Myklebust1-11/+19
2020-02-03NFS: Fix memory leaks and corruption in readdirTrond Myklebust1-2/+15
2020-02-03NFS: nfs_access_get_cached_rcu() should use cred_fscmp()Trond Myklebust1-1/+1
2020-01-24NFS: Add softreval behaviour to nfs_lookup_revalidate()Trond Myklebust1-4/+11
2020-01-15NFS: Trust cached access if we've already revalidated the inode onceTrond Myklebust1-2/+2
2020-01-15NFS: Improve tracing of permission callsTrond Myklebust1-2/+2
2019-09-26Merge tag 'nfs-for-5.4-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-16/+25