]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - security/security.c
selinux: make security_sb_clone_mnt_opts return an error on context mismatch
[karo-tx-linux.git] / security / security.c
index 7b88c6aeaed43e5f37b449fd8ec87610b3b69a93..108281d2307a0999fe447caaf777e3dc736799a6 100644 (file)
@@ -299,10 +299,10 @@ int security_sb_set_mnt_opts(struct super_block *sb,
 }
 EXPORT_SYMBOL(security_sb_set_mnt_opts);
 
-void security_sb_clone_mnt_opts(const struct super_block *oldsb,
+int security_sb_clone_mnt_opts(const struct super_block *oldsb,
                                struct super_block *newsb)
 {
-       security_ops->sb_clone_mnt_opts(oldsb, newsb);
+       return security_ops->sb_clone_mnt_opts(oldsb, newsb);
 }
 EXPORT_SYMBOL(security_sb_clone_mnt_opts);