/* Unlock request. If it was aborted during being locked, the requester thread is currently waiting for it to be unlocked, so wake it up.  */
static void unlock_request(struct fuse_conn *fc, struct fuse_req *req)
/* Unlock request. If it was aborted during being locked, the requester thread is currently waiting for it to be unlocked, so wake it up.  */
static void unlock_request(struct fuse_conn *fc, struct fuse_req *req)
{
	if (req) {
		spin_lock(&fc->lock);
		req->locked = 0;
		if (req->aborted)
			wake_up(&req->waitq);
		spin_unlock(&fc->lock);
	}
}