make get_file() return its argument
[deliverable/linux.git] / fs / fuse / dev.c
index f4246cfc8d876db6ac39a6ef058b144c73d503af..8c23fa7a91e65cb46ad3907432e4418c7f96ad2d 100644 (file)
@@ -148,8 +148,7 @@ static struct fuse_req *get_reserved_req(struct fuse_conn *fc,
                if (ff->reserved_req) {
                        req = ff->reserved_req;
                        ff->reserved_req = NULL;
-                       get_file(file);
-                       req->stolen_file = file;
+                       req->stolen_file = get_file(file);
                }
                spin_unlock(&fc->lock);
        } while (!req);
This page took 0.027854 seconds and 5 git commands to generate.