Message ID | 1393541358-17277-1-git-send-email-andros@netapp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 8672323..652e251 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -4053,8 +4053,8 @@ static bool nfs4_stateid_is_current(nfs4_stateid *stateid, { nfs4_stateid current_stateid; - if (nfs4_set_rw_stateid(¤t_stateid, ctx, l_ctx, fmode)) - return false; + nfs4_stateid_copy(¤t_stateid, &zero_stateid); + nfs4_set_rw_stateid(¤t_stateid, ctx, l_ctx, fmode); return nfs4_stateid_match(stateid, ¤t_stateid); }