Merge branch 'misc.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git] / fs / fuse / dev.c
index 1c8f79b..dde341a 100644 (file)
@@ -288,10 +288,10 @@ void fuse_request_end(struct fuse_req *req)
 
        /*
         * test_and_set_bit() implies smp_mb() between bit
-        * changing and below intr_entry check. Pairs with
+        * changing and below FR_INTERRUPTED check. Pairs with
         * smp_mb() from queue_interrupt().
         */
-       if (!list_empty(&req->intr_entry)) {
+       if (test_bit(FR_INTERRUPTED, &req->flags)) {
                spin_lock(&fiq->lock);
                list_del_init(&req->intr_entry);
                spin_unlock(&fiq->lock);