From: Tom Haynes <loghyr@xxxxxxxxx> Signed-off-by: Tom Haynes <loghyr@xxxxxxxxx> --- nfs4.1/nfs4client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfs4.1/nfs4client.py b/nfs4.1/nfs4client.py index f06d9c5..df573d6 100644 --- a/nfs4.1/nfs4client.py +++ b/nfs4.1/nfs4client.py @@ -296,7 +296,7 @@ class NFS4Client(rpc.Client, rpc.Server): layoutreturn4(LAYOUTRETURN4_FILE, layoutreturn_file4(rclayout.lor_offset, rclayout.lor_length, \ - rclayout.lor_stateid, "")))] + rclayout.lor_stateid, b"")))] env.session.compound(ops) elif lo_recalltype not in [LAYOUTRECALL4_FSID, LAYOUTRECALL4_ALL]: res = NFS4ERR_NOTSUPP -- 2.26.2