]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/nfs/nfs4proc.c
nfs4: don't compare clientid in nfs4_wake_lock_waiter
[linux.git] / fs / nfs / nfs4proc.c
index 5ab28454f1175d1983fc447ffbdd4bd5ef0b0107..669ba9211177bee07a61421fcde51eb239ed6fe0 100644 (file)
@@ -6626,10 +6626,8 @@ nfs4_wake_lock_waiter(wait_queue_entry_t *wait, unsigned int mode, int flags, vo
        struct nfs_lowner       *lowner = &cbnl->cbnl_owner,
                                *wowner = waiter->owner;
 
-       /* Only wake if the callback was for the same owner */
-       if (lowner->clientid != wowner->clientid ||
-           lowner->id != wowner->id             ||
-           lowner->s_dev != wowner->s_dev)
+       /* Only wake if the callback was for the same owner. */
+       if (lowner->id != wowner->id || lowner->s_dev != wowner->s_dev)
                return 0;
 
        /* Make sure it's for the right inode */