projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIPS: KVM: Add MSA exception handling
[deliverable/linux.git]
/
fs
/
namei.c
diff --git
a/fs/namei.c
b/fs/namei.c
index 96ca11dea4a20c56b89ca126274b68089235346f..c83145af4bfc0ea9bb159002e3545e8a8cd65157 100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-2814,7
+2814,7
@@
no_open:
} else if (!dentry->d_inode) {
goto out;
} else if ((open_flag & O_TRUNC) &&
} else if (!dentry->d_inode) {
goto out;
} else if ((open_flag & O_TRUNC) &&
-
S_ISREG(dentry->d_inode->i_mode
)) {
+
d_is_reg(dentry
)) {
goto out;
}
/* will fail later, go on to get the right error */
goto out;
}
/* will fail later, go on to get the right error */
This page took
0.040363 seconds
and
5
git commands to generate.