]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Fix knfsd filehandles...
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Sat, 6 Mar 2004 08:11:47 +0000 (00:11 -0800)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Sat, 6 Mar 2004 08:11:47 +0000 (00:11 -0800)
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.

fs/nfsd/nfsfh.c

index a16bcdb18a7d84ca503a0a8113cccc481fa09b02..369ccea071238cfe29b352f2442bd8ccbfa86645 100644 (file)
@@ -396,6 +396,7 @@ fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry, st
                                 */
                                mk_fsid_v0(datap, ex_dev,
                                        exp->ex_dentry->d_inode->i_ino);
+                               break;
                        case 1:
                                /* fsid_type 1 == 4 bytes filesystem id */
                                mk_fsid_v1(datap, exp->ex_fsid);