diff options
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
3058 | error = open_check_o_direct(file); | 3058 | error = open_check_o_direct(file); |
3059 | if (error) | 3059 | if (error) |
3060 | goto exit_fput; | 3060 | goto exit_fput; |
3061 | error = ima_file_check(file, op->acc_mode); | 3061 | error = ima_file_check(file, op->acc_mode, *opened); |
3062 | if (error) | 3062 | if (error) |
3063 | goto exit_fput; | 3063 | goto exit_fput; |
3064 | 3064 | ||