diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-09-25 00:00:33 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-09-25 00:00:33 +0000 |
commit | 879c2b08b56145e5e6213211d3950a13b262efc7 (patch) | |
tree | 596f771e44a23f7b1de4e817e7e3bcffa45584f3 /sys/nfsclient/nfs_subs.c | |
parent | a7a6c0736af67ff53016128692e274751c583c92 (diff) | |
download | FreeBSD-src-879c2b08b56145e5e6213211d3950a13b262efc7.zip FreeBSD-src-879c2b08b56145e5e6213211d3950a13b262efc7.tar.gz |
Add a missing dereference level. This caused nfsm_postop_attr_xx()
to try and extract node attributes from an RPC reply even if none
were present.
Reviewed by: peter
Diffstat (limited to 'sys/nfsclient/nfs_subs.c')
-rw-r--r-- | sys/nfsclient/nfs_subs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_subs.c b/sys/nfsclient/nfs_subs.c index eeac52f..cd47a0a 100644 --- a/sys/nfsclient/nfs_subs.c +++ b/sys/nfsclient/nfs_subs.c @@ -899,7 +899,7 @@ nfsm_postop_attr_xx(struct vnode **v, int *f, if (t1 != 0) return t1; *f = fxdr_unsigned(int, **tl); - if (f != 0) { + if (*f != 0) { t1 = nfs_loadattrcache(&ttvp, md, dpos, (struct vattr *)0, 1); if (t1 != 0) { *f = 0; |