git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce path_put()
[sfrench/cifs-2.6.git]
/
fs
/
block_dev.c
diff --git
a/fs/block_dev.c
b/fs/block_dev.c
index 5f4721fdbdb6f647d0ebf28e69978a20b0b5649a..67fe72ce6ac7b0f2795a15cb17ae67f25244de67 100644
(file)
--- a/
fs/block_dev.c
+++ b/
fs/block_dev.c
@@
-1409,7
+1409,7
@@
struct block_device *lookup_bdev(const char *path)
if (!bdev)
goto fail;
out:
- path_
release(&nd
);
+ path_
put(&nd.path
);
return bdev;
fail:
bdev = ERR_PTR(error);