diff mbox

[30/38] pnfsd-lexp: fixup recall_layout

Message ID 1368240263-880-1-git-send-email-bhalevy@tonian.com (mailing list archive)
State New, archived
Headers show

Commit Message

Benny Halevy May 11, 2013, 2:44 a.m. UTC
Signed-off-by: Benny Halevy <bhalevy@tonian.com>
---
 fs/nfsd/pnfsd_lexp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/fs/nfsd/pnfsd_lexp.c b/fs/nfsd/pnfsd_lexp.c
index 5d448c2..79a4bc1 100644
--- a/fs/nfsd/pnfsd_lexp.c
+++ b/fs/nfsd/pnfsd_lexp.c
@@ -253,7 +253,7 @@  static int get_stripe_unit(int blocksize)
 static bool
 has_layout(struct nfs4_file *fp)
 {
-	return !list_empty(&fp->fi_layouts);
+	return !list_empty(&fp->fi_lo_states);
 }
 
 /*