summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@kernel.org>2024-04-09 23:53:00 +0000
committerEric Van Hensbergen <ericvh@kernel.org>2024-04-09 23:53:00 +0000
commit6e45a30fe5e7cf5d42ac07262a3d97644f23dc68 (patch)
treef56306df9cd14bcda1eb4dd1c8b70830c8cd1b53 /security
parent7a84602297d36617dbdadeba55a2567031e5165b (diff)
downloadlinux-stable-6e45a30fe5e7cf5d42ac07262a3d97644f23dc68.tar.gz
linux-stable-6e45a30fe5e7cf5d42ac07262a3d97644f23dc68.tar.bz2
linux-stable-6e45a30fe5e7cf5d42ac07262a3d97644f23dc68.zip
fs/9p: remove erroneous nlink init from legacy stat2inode
In 9p2000 legacy mode, stat2inode initializes nlink to 1, which is redundant with what alloc_inode should have already set. 9p2000.u overrides this with extensions if present in the stat structure, and 9p2000.L incorporates nlink into its stat structure. At the very least this probably messes with directory nlink accounting in legacy mode. Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions