diff options
author | Brian Behlendorf <[email protected]> | 2012-08-10 16:39:39 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-08-10 16:43:32 -0700 |
commit | bafc4e9e2ac3b4783a598afb1d2f048ab30c903c (patch) | |
tree | 67e940657595e91beaf141f407b564eadc624d7f /module/zfs/zfs_vfsops.c | |
parent | bb8b81ec6250086dd022d49c603104274ce08e09 (diff) |
Suppress 'zfs_sb_create' memory warning
When mutex debugging is enabled in your kernel the increased
size of the mutex structures can push the zfs_sb_t type beyond
the 8k warning threshold. This isn't harmful so we suppress
the warning for this case.
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #628
Diffstat (limited to 'module/zfs/zfs_vfsops.c')
-rw-r--r-- | module/zfs/zfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_vfsops.c b/module/zfs/zfs_vfsops.c index 6d75326b7..1efe6a8c9 100644 --- a/module/zfs/zfs_vfsops.c +++ b/module/zfs/zfs_vfsops.c @@ -584,7 +584,7 @@ zfs_sb_create(const char *osname, zfs_sb_t **zsbp) int i, error; uint64_t sa_obj; - zsb = kmem_zalloc(sizeof (zfs_sb_t), KM_SLEEP); + zsb = kmem_zalloc(sizeof (zfs_sb_t), KM_SLEEP | KM_NODEBUG); /* * We claim to always be readonly so we can open snapshots; |