projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make get_file() return its argument
[linux-2.6-block.git]
/
fs
/
fuse
/
dev.c
diff --git
a/fs/fuse/dev.c
b/fs/fuse/dev.c
index f4246cfc8d876db6ac39a6ef058b144c73d503af..8c23fa7a91e65cb46ad3907432e4418c7f96ad2d 100644
(file)
--- a/
fs/fuse/dev.c
+++ b/
fs/fuse/dev.c
@@
-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);