Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set Iounit when allocating auth fids #32

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment
Closed

set Iounit when allocating auth fids #32

GoogleCodeExporter opened this issue Mar 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

if the iounit of the auth fid is not set, Tread messages will get packed with a 
0 read count, resulting in auth always failing on the first read of the auth 
fid.

patch follows.
==============

diff -r 630c71178faf p/clnt/mount.go
--- a/p/clnt/mount.go   Wed May 14 13:19:14 2014 -0600
+++ b/p/clnt/mount.go   Sat Aug 30 06:26:39 2014 +0000
@@ -24,6 +24,7 @@
                return nil, err
        }

+       fid.Iounit = clnt.Msize - p.IOHDRSZ
        fid.User = user
        fid.walked = true
        return fid, nil


Original issue reported on code.google.com by mischief@offblast.org on 30 Aug 2014 at 6:26

@GoogleCodeExporter
Copy link
Author

Original comment by lion...@gmail.com on 5 Dec 2014 at 6:10

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant