All of lore.kernel.org
 help / color / mirror / Atom feed
* may be a bug?
@ 2008-08-28  8:52 Payphone LIOU
  2008-08-28 17:43 ` J. Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Payphone LIOU @ 2008-08-28  8:52 UTC (permalink / raw)
  To: linux-nfs

Hi, ALL.

in moutd.h of nfs-utils-1.1.3, an union object was defined  below.
union mountd_results {
	fhstatus		fstatus;
	mountlist		mountlist;
	exports			exports;
};

the space size of mountd_results is the maximum one among fsstaus,mountlist and exports, and all of them are the output arguments of mountd procedures.
in nfsv3, mount_mnt_3_svc takes "mountres3" as its output. so i think it may be :

union mountd_results {
	fhstatus		fstatus;
	mountlist		mountlist;
	exports			exports;
	mountres3    mountres3;
};

because the size of fstatus is larger than mountres3, no erros happens. but i think semantically  "mountres3" should be added into this union structure. am i wrong?

thansk a lot.

Best regards. :-)

Payphone LIOU 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-28 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-28  8:52 may be a bug? Payphone LIOU
2008-08-28 17:43 ` J. Bruce Fields

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.