projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
timekeeping: Simplify tai updating from do_adjtimex
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
kernel
/
acct.c
diff --git
a/kernel/acct.c
b/kernel/acct.c
index
e8b1627
..
b9bd7f0
100644
(file)
--- a/
kernel/acct.c
+++ b/
kernel/acct.c
@@
-205,7
+205,7
@@
static int acct_on(struct filename *pathname)
if (IS_ERR(file))
return PTR_ERR(file);
- if (!S_ISREG(file
->f_path.dentry->d_inode
->i_mode)) {
+ if (!S_ISREG(file
_inode(file)
->i_mode)) {
filp_close(file, NULL);
return -EACCES;
}