From 879c2b08b56145e5e6213211d3950a13b262efc7 Mon Sep 17 00:00:00 2001 From: iedowse Date: Tue, 25 Sep 2001 00:00:33 +0000 Subject: 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 --- sys/nfsclient/nfs_subs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/nfsclient/nfs_subs.c') 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; -- cgit v1.1