Displaying 3 results from an estimated 3 matches for "mnt_reply_minsize".
2005 Jun 05
0
[PATCH] avoid spurious umount error message
...====
--- klibc-1.0.14.orig/nfsmount/mount.c 2005-05-27 07:02:31.000000000 +0200
+++ klibc-1.0.14/nfsmount/mount.c 2005-06-04 13:36:33.000000000 +0200
@@ -166,6 +166,10 @@
if (rpc_call(clnt, &rpc) < 0)
goto bail;
+ if (proc != MNTPROC_MNT) {
+ goto done;
+ }
+
if (rpc.reply_len < MNT_REPLY_MINSIZE) {
fprintf(stderr, "incomplete reply: %zu < %zu\n",
rpc.reply_len, MNT_REPLY_MINSIZE);
2020 Mar 28
0
[klibc:master] nfsmount: Fix alignment of packet structures
...re {
uint32_t size;
char data[NFS_MAXFHSIZE_WIRE];
-} __attribute__ ((packed));
+} __attribute__ ((packed, aligned(4)));
struct mount_reply {
struct rpc_reply reply;
uint32_t status;
struct nfs_fh_wire fh;
-} __attribute__ ((packed));
+} __attribute__ ((packed, aligned(4)));
#define MNT_REPLY_MINSIZE (sizeof(struct rpc_reply) + sizeof(uint32_t))
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about.
The goal is not to be 100% checkpatch compliant,
but to have more consistent coding style.
As this is a trivial patch serie, will land in 24 hours in klibc git,
unless of course ml review hits a bugger.
Checked with size(3) that the generated kinit, fstype, ipconfig and
nfsmount are the same.
maximilian attems (4):
[klibc] ipconfig: reduce