projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iommu: parisc: pass struct device to iommu_alloc_range
[cascardo/linux.git]
/
drivers
/
md
/
dm-table.c
diff --git
a/drivers/md/dm-table.c
b/drivers/md/dm-table.c
index
f160629
..
e75b143
100644
(file)
--- a/
drivers/md/dm-table.c
+++ b/
drivers/md/dm-table.c
@@
-361,7
+361,7
@@
static int lookup_device(const char *path, dev_t *dev)
if ((r = path_lookup(path, LOOKUP_FOLLOW, &nd)))
return r;
- inode = nd.dentry->d_inode;
+ inode = nd.
path.
dentry->d_inode;
if (!inode) {
r = -ENOENT;
goto out;
@@
-375,7
+375,7
@@
static int lookup_device(const char *path, dev_t *dev)
*dev = inode->i_rdev;
out:
- path_
release(&nd
);
+ path_
put(&nd.path
);
return r;
}