diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-11-19 16:15:04 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2026-01-13 15:16:44 -0500 |
| commit | ca2a04e84af79596e5cd9cfe697d5122ec39c8ce (patch) | |
| tree | b0a66a0ef6fccebf5f8c32e24f87b12c1fcd7958 /include/linux/prandom.h | |
| parent | 41670a5900a8866b8cab52ab5936b5e9ef06fe91 (diff) | |
ntfs: ->d_compare() must not block
... so don't use __getname() there. Switch it (and ntfs_d_hash(), while
we are at it) to kmalloc(PATH_MAX, GFP_NOWAIT). Yes, ntfs_d_hash()
almost certainly can do with smaller allocations, but let ntfs folks
deal with that - keep the allocation size as-is for now.
Stop abusing names_cachep in ntfs, period - various uses of that thing
in there have nothing to do with pathnames; just use k[mz]alloc() and
be done with that. For now let's keep sizes as-in, but AFAICS none of
the users actually want PATH_MAX.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/prandom.h')
0 files changed, 0 insertions, 0 deletions
