projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'akpm' (patches from Andrew)
[linux-2.6-microblaze.git]
/
drivers
/
dax
/
super.c
diff --git
a/drivers/dax/super.c
b/drivers/dax/super.c
index
cadbd0a
..
5fa6ae9
100644
(file)
--- a/
drivers/dax/super.c
+++ b/
drivers/dax/super.c
@@
-480,7
+480,7
@@
static void dax_free_inode(struct inode *inode)
kfree(dax_dev->host);
dax_dev->host = NULL;
if (inode->i_rdev)
- ida_simple_remove(&dax_minor_ida,
MINOR(inode->i_rdev
));
+ ida_simple_remove(&dax_minor_ida,
iminor(inode
));
kmem_cache_free(dax_cache, dax_dev);
}