On 11/18/2017 01:12 PM, Trond Myklebust wrote:
>
> Sigh.... OK, how about something like the following then:
>
> { .data = { 0xff, 0xff, 0xff, 0xff, 0 }, }
>
Yes, this does build.
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index 54fd56d..daa6085 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -71,8 +71,7 @@
};
const nfs4_stateid invalid_stateid = {
{
- .seqid = cpu_to_be32(0xffffffffU),
- .other = { 0 },
+ .data = { 0xff, 0xff, 0xff, 0xff, 0 },
},
.type = NFS4_INVALID_STATEID_TYPE,
};
-boris
From 1584466552241743672@xxx Sun Nov 19 04:17:36 +0000 2017
X-GM-THRID: 1584466461486741253
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread