Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merge b_devel into HEAD, which will become 0.7.3
[fs/lustre-release.git]
/
lustre
/
osc
/
osc_lib.c
diff --git
a/lustre/osc/osc_lib.c
b/lustre/osc/osc_lib.c
index
aa04a1a
..
c8cd6ad
100644
(file)
--- a/
lustre/osc/osc_lib.c
+++ b/
lustre/osc/osc_lib.c
@@
-34,8
+34,7
@@
static kdev_t path2dev(char *path)
{
struct dentry *dentry;
struct nameidata nd;
- kdev_t dev;
- KDEVT_VAL(dev, 0);
+ kdev_t dev = KDEVT_INIT(0);
if (!path_init(path, LOOKUP_FOLLOW, &nd))
return 0;