diff options
author | Tim Chase <[email protected]> | 2015-03-22 21:43:21 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-03-24 13:25:25 -0700 |
commit | abb642b9a971e6c1a15816f9332da89eaebac9c1 (patch) | |
tree | fb890a6cd4cb9e2b4a5dd031d052a1d1e70e2c63 /config | |
parent | 79a0056e137c9cc540eb9ff7327c85ac8d094e6c (diff) |
Set HAVE_FS_STRUCT_SPINLOCK correctly when CONFIG_FRAME_WARN==1024
If kernel lock debugging is enabled, the fs_struct structure exceeds the
typical 1024 byte limit of CONFIG_FRAME_WARN and isn't enabled when it
otherwise should be.
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tim Chase <[email protected]>
Closes #440
Diffstat (limited to 'config')
-rw-r--r-- | config/spl-build.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4 index 4b55809ce..82fbea0c3 100644 --- a/config/spl-build.m4 +++ b/config/spl-build.m4 @@ -1033,7 +1033,7 @@ AC_DEFUN([SPL_AC_FS_STRUCT_SPINLOCK], [ #include <linux/sched.h> #include <linux/fs_struct.h> ],[ - struct fs_struct fs; + static struct fs_struct fs; spin_lock_init(&fs.lock); ],[ AC_MSG_RESULT(yes) |