Commit 643ac501 authored by Trond Myklebust's avatar Trond Myklebust

[PATCH] Fix knfsd filehandles...

Here's a fix for an obvious typo in changeset
neilb@cse.unsw.edu.au|ChangeSet|20040305155724|31191
that was causing ESTALE errors galore on my NFS testrig.
parent ff9fc790
...@@ -396,6 +396,7 @@ fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, st ...@@ -396,6 +396,7 @@ fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, st
*/ */
mk_fsid_v0(datap, ex_dev, mk_fsid_v0(datap, ex_dev,
exp->ex_dentry->d_inode->i_ino); exp->ex_dentry->d_inode->i_ino);
break;
case 1: case 1:
/* fsid_type 1 == 4 bytes filesystem id */ /* fsid_type 1 == 4 bytes filesystem id */
mk_fsid_v1(datap, exp->ex_fsid); mk_fsid_v1(datap, exp->ex_fsid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment