Please sign in to comment.
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@example.com> Signed-off-by: Brian Behlendorf <firstname.lastname@example.org> Signed-off-by: Richard Yao <email@example.com> Closes #884
- Loading branch information...
Showing with 10 additions and 10 deletions.