diff options
author | Brian Behlendorf <[email protected]> | 2011-09-15 20:23:50 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-09-15 20:26:51 -0700 |
commit | fa6e5ced2fba92555019c7bc09b4c4b98c1a5323 (patch) | |
tree | 1580e6e0cc9f369ca13a7272486de0ec05f09006 | |
parent | a65666f63856653faa9e4a7f35690b73512641ce (diff) |
Suppress kmem_alloc() warning in zfs_prop_set_special()
Suppress the warning for this large kmem_alloc() because it is not
that far over the warning threshhold (8k) and it is short lived.
Signed-off-by: Brian Behlendorf <[email protected]>
-rw-r--r-- | module/zfs/zfs_ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c index 088c64b27..c8ff03595 100644 --- a/module/zfs/zfs_ioctl.c +++ b/module/zfs/zfs_ioctl.c @@ -2175,7 +2175,8 @@ zfs_prop_set_special(const char *dsname, zprop_source_t source, if (err == 0 && intval >= ZPL_VERSION_USERSPACE) { zfs_cmd_t *zc; - zc = kmem_zalloc(sizeof (zfs_cmd_t), KM_SLEEP); + zc = kmem_zalloc(sizeof (zfs_cmd_t), + KM_SLEEP | KM_NODEBUG); (void) strcpy(zc->zc_name, dsname); (void) zfs_ioc_userspace_upgrade(zc); kmem_free(zc, sizeof (zfs_cmd_t)); |