diff options
author | Massimo Maggi <[email protected]> | 2012-08-23 14:52:45 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-08-24 08:56:38 -0700 |
commit | 52cd92022eaf8f105510df708d234012cbe5078d (patch) | |
tree | bf2cda13d57bd7ae7ac62e50ef10f4286620efdf /module/zfs | |
parent | 08b1b21d58b1ae8a67fec38ccda02489c4aa8115 (diff) |
Fix snapshot automounting with GrSecurity constify plugin.
./configure erroneously detects absence of dops->d_automount
when built against a GrSecurity patched kernel.
Summerized error message found in config.log:
checking whether dops->d_automount() exists
...
In function 'main': ... error: constified variable 'dops'
cannot be local
The "dops" variable cannot be a local variable, so it's
moved to the global scope.
This test also fails if the prototype of the dops->d_automount
function pointer is changed.
Signed-off-by: Massimo Maggi <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes #884
Diffstat (limited to 'module/zfs')
0 files changed, 0 insertions, 0 deletions