git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add metaslab_debug option
[zfs.git]
/
module
/
zfs
/
dsl_dir.c
diff --git
a/module/zfs/dsl_dir.c
b/module/zfs/dsl_dir.c
index
7412239
..
a25ebbf
100644
(file)
--- a/
module/zfs/dsl_dir.c
+++ b/
module/zfs/dsl_dir.c
@@
-295,7
+295,7
@@
getcomponent(const char *path, char *component, const char **nextp)
}
/*
}
/*
- * same as dsl_
open_dir
, ignore the first component of name and use the
+ * same as dsl_
dir_open
, ignore the first component of name and use the
* spa instead
*/
int
* spa instead
*/
int
@@
-312,7
+312,7
@@
dsl_dir_open_spa(spa_t *spa, const char *name, void *tag,
dprintf("%s\n", name);
dprintf("%s\n", name);
- buf = kmem_alloc(MAXNAMELEN, KM_
SLEEP
);
+ buf = kmem_alloc(MAXNAMELEN, KM_
PUSHPAGE
);
err = getcomponent(name, buf, &next);
if (err)
goto error;
err = getcomponent(name, buf, &next);
if (err)
goto error;