projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'trace-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux...
[deliverable/linux.git]
/
fs
/
open.c
diff --git
a/fs/open.c
b/fs/open.c
index 93ae3cdee4ab093c8a23c0505a45d5673ccbc6b6..bf66cf1a9f5c4e186c14b7217414a51b5109c7b4 100644
(file)
--- a/
fs/open.c
+++ b/
fs/open.c
@@
-840,13
+840,13
@@
EXPORT_SYMBOL(file_path);
int vfs_open(const struct path *path, struct file *file,
const struct cred *cred)
{
int vfs_open(const struct path *path, struct file *file,
const struct cred *cred)
{
- struct
inode *inode = vfs_select_inode(path->dentry
, file->f_flags);
+ struct
dentry *dentry = d_real(path->dentry, NULL
, file->f_flags);
- if (IS_ERR(
inode
))
- return PTR_ERR(
inode
);
+ if (IS_ERR(
dentry
))
+ return PTR_ERR(
dentry
);
file->f_path = *path;
file->f_path = *path;
- return do_dentry_open(file,
inode
, NULL, cred);
+ return do_dentry_open(file,
d_backing_inode(dentry)
, NULL, cred);
}
struct file *dentry_open(const struct path *path, int flags,
}
struct file *dentry_open(const struct path *path, int flags,
This page took
0.033517 seconds
and
5
git commands to generate.