make finish_no_open() return int
[deliverable/linux.git] / fs / 9p / vfs_inode.c
index 2b05651e0c3d29f30c057ced8c73c3fd2fae819f..eae476fb401c45222e6e9481cc2a6915548ec93b 100644 (file)
@@ -878,10 +878,8 @@ v9fs_vfs_atomic_open(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);
 
        err = 0;
        fid = NULL;
This page took 0.025997 seconds and 5 git commands to generate.