summaryrefslogtreecommitdiffstats
path: root/bin/df
diff options
context:
space:
mode:
authorrmacklem <rmacklem@FreeBSD.org>2012-03-03 16:13:20 +0000
committerrmacklem <rmacklem@FreeBSD.org>2012-03-03 16:13:20 +0000
commit432277f0fa34fb827e6809b0718ed2becb42d26e (patch)
treedbab013255d4c895d382b9d219c5fe7b8f5a16e3 /bin/df
parent2dd794d91e9a5b42a4f00f1b8b02b433913175c8 (diff)
downloadFreeBSD-src-432277f0fa34fb827e6809b0718ed2becb42d26e.zip
FreeBSD-src-432277f0fa34fb827e6809b0718ed2becb42d26e.tar.gz
The name caching changes of r230394 exposed an intermittent bug
in the new NFS server for NFSv4, where it would report ENOENT when the file actually existed on the server. This turned out to be caused by not initializing ni_topdir before calling lookup() and there was a rare case where the value on the stack location assigned to ni_topdir happened to be a pointer to a ".." entry, such that "dp == ndp->ni_topdir" succeeded in lookup(). This patch initializes ni_topdir to fix the problem. MFC after: 5 days
Diffstat (limited to 'bin/df')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud