]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/namei.c
ima: rename ima_path_check to ima_file_check
[mv-sheeva.git] / fs / namei.c
index cd77b6375efd335ce60e71144a4075cdecd905d6..d62fdc875f22800a3d5c1a8c0a2532b0b6d51cc6 100644 (file)
@@ -1736,7 +1736,7 @@ do_last:
                if (nd.root.mnt)
                        path_put(&nd.root);
                if (!IS_ERR(filp)) {
-                       error = ima_path_check(filp, acc_mode);
+                       error = ima_file_check(filp, acc_mode);
                        if (error) {
                                fput(filp);
                                filp = ERR_PTR(error);
@@ -1796,7 +1796,7 @@ ok:
        }
        filp = nameidata_to_filp(&nd);
        if (!IS_ERR(filp)) {
-               error = ima_path_check(filp, acc_mode);
+               error = ima_file_check(filp, acc_mode);
                if (error) {
                        fput(filp);
                        filp = ERR_PTR(error);