mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
9p: don't use __getname/__putname for uname/aname
These are generally very small strings. We don't need an entire 4k allocation for each. Instead, just free and reallocate them on an as-needed basis. Note: This patch is untested since I don't have a 9p server available at the moment. It's mainly something I noticed while doing some getname/putname cleanup work. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
This commit is contained in:
parent
43def35c10
commit
e549c13371
1 changed files with 19 additions and 11 deletions
30
fs/9p/v9fs.c
30
fs/9p/v9fs.c
Loading…
Add table
Add a link
Reference in a new issue