sh: Provide the kmap_coherent() interface generically.
[cascardo/linux.git] / fs / fuse / file.c
index fce6ce6..cbc4640 100644 (file)
@@ -1922,7 +1922,7 @@ unsigned fuse_file_poll(struct file *file, poll_table *wait)
 
        req = fuse_get_req(fc);
        if (IS_ERR(req))
-               return PTR_ERR(req);
+               return POLLERR;
 
        req->in.h.opcode = FUSE_POLL;
        req->in.h.nodeid = ff->nodeid;