nfs4proc.c (6b26cc8c8ead3636a18bfd9489984983f4ddd6f4) | nfs4proc.c (93b717fd81bf6b9a73c3702e9b079b4de8148b34) |
---|---|
1/* 2 * fs/nfs/nfs4proc.c 3 * 4 * Client-side procedure declarations for NFSv4. 5 * 6 * Copyright (c) 2002 The Regents of the University of Michigan. 7 * All rights reserved. 8 * --- 8661 unchanged lines hidden (view full) --- 8670 if (IS_ERR(task)) 8671 return; 8672 rpc_put_task(task); 8673} 8674 8675static bool nfs41_match_stateid(const nfs4_stateid *s1, 8676 const nfs4_stateid *s2) 8677{ | 1/* 2 * fs/nfs/nfs4proc.c 3 * 4 * Client-side procedure declarations for NFSv4. 5 * 6 * Copyright (c) 2002 The Regents of the University of Michigan. 7 * All rights reserved. 8 * --- 8661 unchanged lines hidden (view full) --- 8670 if (IS_ERR(task)) 8671 return; 8672 rpc_put_task(task); 8673} 8674 8675static bool nfs41_match_stateid(const nfs4_stateid *s1, 8676 const nfs4_stateid *s2) 8677{ |
8678 if (s1->type != s2->type) 8679 return false; 8680 |
|
8678 if (memcmp(s1->other, s2->other, sizeof(s1->other)) != 0) 8679 return false; 8680 8681 if (s1->seqid == s2->seqid) 8682 return true; 8683 if (s1->seqid == 0 || s2->seqid == 0) 8684 return true; 8685 --- 283 unchanged lines hidden --- | 8681 if (memcmp(s1->other, s2->other, sizeof(s1->other)) != 0) 8682 return false; 8683 8684 if (s1->seqid == s2->seqid) 8685 return true; 8686 if (s1->seqid == 0 || s2->seqid == 0) 8687 return true; 8688 --- 283 unchanged lines hidden --- |