[pnfs] CVS: nfsv4
Benny Halevy Panasas
bhalevy at citi.umich.edu
Fri Dec 8 02:06:01 EST 2006
CVSROOT: /cvs
Module name: nfsv4
Changes by: bhalevy at citi. 2006/12/08 02:06:01
Modified files:
cvs/pnfs/fs/nfsd: nfs4state.c
Log message:
Fix bug in nfs4_pnfs_get_layout()
Index: fs/nfsd/nfs4state.c
===================================================================
RCS file: /cvs/nfsv4/cvs/pnfs/fs/nfsd/nfs4state.c,v
retrieving revision 1.21
diff -u -p -r1.21 nfs4state.c
--- fs/nfsd/nfs4state.c 6 Dec 2006 23:18:02 -0000 1.21
+++ fs/nfsd/nfs4state.c 8 Dec 2006 07:05:03 -0000
@@ -3551,7 +3551,7 @@ int nfs4_pnfs_get_layout(struct super_bl
goto out;
lgp->lg_flags = 0;
- while (!list_empty(&clp->cl_layouts)) {
+ while (!list_empty(&fp->fi_layouts)) {
lp = list_entry(fp->fi_layouts.next,
struct nfs4_layout, lo_perfile);
//??? if the right layout
More information about the pNFS
mailing list