[PATCH 7/7] SQUASHME: pnfsd-exofs: use only pnfs_layoutreturn_type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx>
---
 fs/exofs/export.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/exofs/export.c b/fs/exofs/export.c
index 4c1c7e3..9a27673 100644
--- a/fs/exofs/export.c
+++ b/fs/exofs/export.c
@@ -343,7 +343,7 @@ static int is_layout_returned(struct exofs_i_info *oi)
 	}
 
 	memset(&cbl, 0, sizeof(cbl));
-	cbl.cbl_recall_type = RECALL_FILE;
+	cbl.cbl_recall_type = RETURN_FILE;
 	cbl.cbl_seg.layout_type = LAYOUT_OSD2_OBJECTS;
 	cbl.cbl_seg.iomode = IOMODE_RW;
 	cbl.cbl_seg.length = NFS4_MAX_UINT64;
@@ -401,7 +401,7 @@ int exofs_inode_recall_layout(struct inode *inode, exofs_recall_fn todo)
 		goto err;
 
 	memset(&cbl, 0, sizeof(cbl));
-	cbl.cbl_recall_type = RECALL_FILE;
+	cbl.cbl_recall_type = RETURN_FILE;
 	cbl.cbl_seg.layout_type = LAYOUT_OSD2_OBJECTS;
 	cbl.cbl_seg.iomode = IOMODE_ANY;
 	cbl.cbl_seg.length = NFS4_MAX_UINT64;
-- 
1.6.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux