Message ID | 20201219182948.83000-2-loghyr@hammerspace.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Python3 patches for st_flex.py | expand |
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