[PATCH 2.6.13-rc6-mm2] v9fs: fix handling of malformed 9P messages

2005-08-28 Thread Eric Van Hensbergen
[PATCH] v9fs: fix handling of malformed 9P messages This patch attempts to do a better job of cleaning up after detecting errors on the transport. This should also improve error reporting on broken connections to servers. Signed-off-by: Latchesar Ionkov <[EMAIL PROTECTED]> Signed-off-by: Eric Va

[PATCH 2.6.13-rc6-mm2] v9fs: readlink extended mode check

2005-08-28 Thread Eric Van Hensbergen
LANL reported some issues with random crashes during mount of legacy protocol servers (9P2000 versus 9P2000.u) -- crash was always happening in readlink (which should never happen in legacy mode). Added some sanity conditionals to the get_inode code which should prevent the errors LANL was seeing.

[PATCH] v9fs: fix a problem with named-pipe transport

2005-08-28 Thread Eric Van Hensbergen
[PATCH] v9fs: fix a problem with named-pipe transport Found the problem. I am not sure why, but unix_mkname in net/unix/af_unix.c writes a zero byte outside the sockaddr_un parameter. There is even a comment that it might seem like a bug, but it is not -- I didn't understand the explanation -- it

[PATCH 2.6.13-rc6-mm2] v9fs: use standard kernel byteswapping routines

2005-08-28 Thread Eric Van Hensbergen
[PATCH] v9fs: use standard kernel byteswapping routines Originally suggested by hch, we have removed our byteswap code and replaced it with calls to the standard kernel byteswapping code. Signed-off-by: Eric Van Hensbergen <[EMAIL PROTECTED]> --- commit 06e00e56fdf2c3e230ff60f6fdab6db789f16e73 t

[PATCH 2.6.13-rc6-mm2] v9fs: fix plan9port example in v9fs documentation.

2005-08-28 Thread Eric Van Hensbergen
[PATCH] v9fs: Fix Plan9port example in v9fs documentation. Signed-off-by: Eric Van Hensbergen <[EMAIL PROTECTED]> --- commit 678b78b5268b253e21aa818fac25ea13291eafff tree fc3d94d10d23fedee95091e372c51e1156a0360f parent 06e00e56fdf2c3e230ff60f6fdab6db789f16e73 author Eric Van Hensbergen <[EMAIL PR

PATCH 2.6.13-rc7-mm1] v9fs: adjust follow_link and put_link to match new VFS API

2005-08-28 Thread Eric Van Hensbergen
[PATCH] v9fs: adjust follow_link and put_link to match new VFS API In 2.6.13-rc7 the prototypes for follow_link and put_link were changed to include support for a cookie to help reclaim resources. This patch adjusts their definitions in the v9fs implementation. Signed-off-by: Eric Van Hensbergen

Re: [PATCH 2.6.13-rc6-mm2] v9fs: use standard kernel byteswapping routines

2005-08-28 Thread Alexey Dobriyan
On Sun, Aug 28, 2005 at 04:05:07PM -0500, Eric Van Hensbergen wrote: > [PATCH] v9fs: use standard kernel byteswapping routines > > Originally suggested by hch, we have removed our byteswap code > and replaced it with calls to the standard kernel byteswapping code. > - buf->p[0] = val; > -

Re: [PATCH 2.6.13-rc6-mm2] v9fs: use standard kernel byteswapping routines

2005-08-28 Thread Eric Van Hensbergen
On 8/28/05, Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > On Sun, Aug 28, 2005 at 04:05:07PM -0500, Eric Van Hensbergen wrote: > > [PATCH] v9fs: use standard kernel byteswapping routines > > > > Originally suggested by hch, we have removed our byteswap code > > and replaced it with calls to the stan

Re: [PATCH 2.6.13-rc6-mm2] v9fs: use standard kernel byteswapping routines

2005-08-28 Thread Alexey Dobriyan
On Sun, Aug 28, 2005 at 04:43:27PM -0500, Eric Van Hensbergen wrote: > On 8/28/05, Alexey Dobriyan <[EMAIL PROTECTED]> wrote: > > On Sun, Aug 28, 2005 at 04:05:07PM -0500, Eric Van Hensbergen wrote: > > > [PATCH] v9fs: use standard kernel byteswapping routines > > > > > > Originally suggested by hc

Re: [PATCH 2.6.13-rc6-mm2] v9fs: fix plan9port example in v9fs documentation.

2005-08-28 Thread Alexey Dobriyan
On Sun, Aug 28, 2005 at 04:10:50PM -0500, Eric Van Hensbergen wrote: > [PATCH] v9fs: Fix Plan9port example in v9fs documentation. > --- a/Documentation/filesystems/v9fs.txt > +++ b/Documentation/filesystems/v9fs.txt > - mount -t 9P /tmp/ns.root.:0/acme/acme /mnt/9 proto=unix,name=$USER > +

[RESEND][PATCH 2.6.13-rc6-mm2] v9fs: fix plan9port example in v9fs documentation.

2005-08-28 Thread Eric Van Hensbergen
[PATCH] v9fs: Fix Plan9port example in v9fs documentation. Resend: to fix typo that I should have caught first time around. Signed-off-by: Eric Van Hensbergen <[EMAIL PROTECTED]> --- commit 678b78b5268b253e21aa818fac25ea13291eafff tree fc3d94d10d23fedee95091e372c51e1156a0360f parent 06e00e56fdf2

[PATCH 2.6.13-rc6-mm2] v9fs: remove sparse bitwise warnings

2005-08-28 Thread Eric Van Hensbergen
[PATCH] v9fs: remove sparse bitwise warnings Fixed a bunch of cast conversions to remove -Wbitwise warnings from sparse. Signed-off-by: Eric Van Hensbergen <[EMAIL PROTECTED]> --- commit fec4b0831dba7e27e9531d0566eec1a5646f3e79 tree dfc14f433354a8dcdb049bc8137e7f31d7cbda3e parent 67fefd3d8da2c41