X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=fs%2Fnamei.c;h=005771f9718960b5e0764f4607095cf96dbd7829;hb=3034a146820c26fe6da66a45f6340fe87fe0983a;hp=985c6f3684859e17439d62c7d319611305414437;hpb=3dcbad52cf18c3c379e96b992d22815439ebbe53;p=linux-2.6-block.git diff --git a/fs/namei.c b/fs/namei.c index 985c6f368485..005771f97189 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3058,7 +3058,7 @@ opened: error = open_check_o_direct(file); if (error) goto exit_fput; - error = ima_file_check(file, op->acc_mode); + error = ima_file_check(file, op->acc_mode, *opened); if (error) goto exit_fput;