projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make finish_no_open() return int
[linux-block.git]
/
fs
/
9p
/
vfs_inode_dotl.c
diff --git
a/fs/9p/vfs_inode_dotl.c
b/fs/9p/vfs_inode_dotl.c
index cfaebdef9743a96031ad52063dd3b982110bf963..1ee10c89df9747ae5bc33483c5570a58ff33b672 100644
(file)
--- a/
fs/9p/vfs_inode_dotl.c
+++ b/
fs/9p/vfs_inode_dotl.c
@@
-268,10
+268,8
@@
v9fs_vfs_atomic_open_dotl(struct inode *dir, struct dentry *dentry,
}
/* Only creates */
- if (!(flags & O_CREAT) || dentry->d_inode) {
- finish_no_open(file, res);
- return 1;
- }
+ if (!(flags & O_CREAT) || dentry->d_inode)
+ return finish_no_open(file, res);
v9ses = v9fs_inode2v9ses(dir);