Displaying 8 results from an estimated 8 matches for "mntproc_mnt".
2009 Aug 11
1
nfs MNT include cleanup
2ad780978b7c0c3e7877949f098cbd06e7c73839 broke klibc build
MNTPROC_MNT and MNTPROC_UMNT no longer defined.
usr/kinit/nfsmount/mount.c: In function ?mount_call?:
usr/kinit/nfsmount/mount.c:179: error: ?MNTPROC_MNT? undeclared (first use in this function)
usr/kinit/nfsmount/mount.c:179: error: (Each undeclared identifier is reported only once
usr/kinit/nfsmount/mount.c...
2010 Feb 23
0
[PATCH 1/3] nfsmount.h: Add missing definitions.
linux-2.6 2ad780978b7c0c3e7877949f098cbd06e7c73839 cleaned up
linux/nfsmount.h and thus a klibc build would produce this:
> usr/kinit/nfsmount/mount.c:179: error: 'MNTPROC_MNT' undeclared (first use in this function)
> usr/kinit/nfsmount/mount.c:179: error: (Each undeclared identifier is reported only once
> usr/kinit/nfsmount/mount.c:179: error: for each function it appears in.)
> usr/kinit/nfsmount/mount.c: In function 'mount_v2':
> usr/kinit/nf...
2006 Jun 26
0
[klibc 14/43] Remove in-kernel nfsroot code
...D(addr->sin_addr.s_addr));
- mnt_clnt = mnt_create(hostname, addr, version, protocol);
- if (IS_ERR(mnt_clnt))
- return PTR_ERR(mnt_clnt);
-
- if (version == NFS_MNT3_VERSION)
- msg.rpc_proc = &mnt_clnt->cl_procinfo[MOUNTPROC3_MNT];
- else
- msg.rpc_proc = &mnt_clnt->cl_procinfo[MNTPROC_MNT];
-
- status = rpc_call_sync(mnt_clnt, &msg, 0);
- return status < 0? status : (result.status? -EACCES : 0);
-}
-
-static struct rpc_clnt *
-mnt_create(char *hostname, struct sockaddr_in *srvaddr, int version,
- int protocol)
-{
- struct rpc_xprt *xprt;
- struct rpc_clnt *clnt;
-
- xprt = x...
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);
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
2010 Mar 13
1
klibc build trouble
as the next klibc release 1.5.16 looks like shaping up,
I have a trouble to build that for Debian.
currently I build depent on linux-libc-dev, I don't know what
against I can build latest klibc, see
klibc fails to build due too:
make -C linux/ ARCH=x86_64 INSTALL_HDR_PATH=debian/tmp/usr/lib/klibc/ headers_install
make[3]: *** No rule to make target `headers_install'. Stop.
make[2]: ***
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
The following patchset implements 3 seperate series of changes.
External Building
=================
Patches 1 through 8 enable to use of klibc's build system while leaving the src
tree pristine (and potentially read only). Specifically:
- srctree=<Sources for klibc>
- objtree=<Ouput directory for klibc>
- KLIBCKERNELSRC=<Kernel sources>
- KLIBCKERNELOBJ=<Kernel
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...08x:%s)\n",
- (unsigned)ntohl(addr->sin_addr.s_addr), path);
-
- sprintf(hostname, "%u.%u.%u.%u", NIPQUAD(addr->sin_addr.s_addr));
- if (!(mnt_clnt = mnt_create(hostname, addr, version, protocol)))
- return -EACCES;
-
- call = (version == NFS_MNT3_VERSION) ? MOUNTPROC3_MNT : MNTPROC_MNT;
- status = rpc_call(mnt_clnt, call, path, &result, 0);
- return status < 0? status : (result.status? -EACCES : 0);
-}
-
-static struct rpc_clnt *
-mnt_create(char *hostname, struct sockaddr_in *srvaddr, int version,
- int protocol)
-{
- struct rpc_xprt *xprt;
- struct rpc_clnt *clnt;
-
- i...