From: Jan Marek <linux@hazard.jcu.cz>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [miniPATCH] 2.5.44 fix compilation errors in the AFS fs
Date: Wed, 23 Oct 2002 11:56:01 +0200 [thread overview]
Message-ID: <20021023095601.GB12175@hazard.jcu.cz> (raw)
[-- Attachment #1: Type: text/plain, Size: 376 bytes --]
Hallo lkml,
I'm sending 2 patches to fix compilation errors in the AFS fs.
The first of them fixed union afs_dirent_t and using this union in the
fs/afs/dir.c.
The second of them fix number of parameters of calling function kleave()
in the net/rxpc/main.c.
Sincerely
Jan Marek
--
Ing. Jan Marek
University of South Bohemia
Academic Computer Centre
Phone: +420-38-7772080
[-- Attachment #2: fs_afs_dirc.patch --]
[-- Type: text/plain, Size: 1142 bytes --]
--- linux-2.5.44/fs/afs/dir.c.old 2002-10-23 11:35:12.000000000 +0200
+++ linux-2.5.44/fs/afs/dir.c 2002-10-23 11:39:57.000000000 +0200
@@ -72,7 +72,7 @@
u8 name[16];
u8 overflow[4]; /* if any char of the name (inc NUL) reaches here, consume
* the next dirent too */
- };
+ } parts;
u8 extended_name[32];
} afs_dirent_t;
@@ -258,7 +258,7 @@
/* got a valid entry */
dire = &block->dirents[offset];
- nlen = strnlen(dire->name,sizeof(*block) - offset*sizeof(afs_dirent_t));
+ nlen = strnlen(dire->parts.name,sizeof(*block) - offset*sizeof(afs_dirent_t));
_debug("ENT[%u.%u]: %s %u \"%.*s\"\n",
blkoff/sizeof(afs_dir_block_t),offset,
@@ -290,11 +290,11 @@
/* found the next entry */
ret = filldir(cookie,
- dire->name,
+ dire->parts.name,
nlen,
blkoff + offset * sizeof(afs_dirent_t),
- ntohl(dire->vnode),
- filldir==afs_dir_lookup_filldir ? dire->unique : DT_UNKNOWN);
+ ntohl(dire->parts.vnode),
+ filldir==afs_dir_lookup_filldir ? dire->parts.unique : DT_UNKNOWN);
if (ret<0) {
_leave(" = 0 [full]");
return 0;
[-- Attachment #3: net_rxpc_mainc.patch --]
[-- Type: text/plain, Size: 394 bytes --]
--- linux-2.5.44/net/rxrpc/main.c.old 2002-10-23 11:44:45.000000000 +0200
+++ linux-2.5.44/net/rxrpc/main.c 2002-10-23 11:45:41.000000000 +0200
@@ -123,5 +123,5 @@
__RXACCT(printk("Outstanding Peers : %d\n",atomic_read(&rxrpc_peer_count)));
__RXACCT(printk("Outstanding Transports : %d\n",atomic_read(&rxrpc_transport_count)));
- kleave();
+ kleave("");
} /* end rxrpc_cleanup() */
next reply other threads:[~2002-10-23 9:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-23 9:56 Jan Marek [this message]
2002-10-23 10:28 ` Alan Cox
2002-10-23 10:42 ` Alex Riesen
2002-10-23 11:53 ` Alan Cox
2002-10-23 10:44 ` Adrian Bunk
2002-10-23 13:16 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021023095601.GB12175@hazard.jcu.cz \
--to=linux@hazard.jcu.cz \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®