diff options
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 48c9ae09f3d6..50ca088d8860 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -307,11 +307,9 @@ int cifs_open(struct inode *inode, struct file *file) | |||
307 | rc = 0; | 307 | rc = 0; |
308 | FreeXid(xid); | 308 | FreeXid(xid); |
309 | return rc; | 309 | return rc; |
310 | } else { | 310 | } else if ((file->f_flags & O_CREAT) && (file->f_flags & O_EXCL)) |
311 | if ((file->f_flags & O_CREAT) && (file->f_flags & O_EXCL)) | ||
312 | cERROR(1, ("could not find file instance for " | 311 | cERROR(1, ("could not find file instance for " |
313 | "new file %p", file)); | 312 | "new file %p", file)); |
314 | } | ||
315 | 313 | ||
316 | full_path = build_path_from_dentry(file->f_path.dentry); | 314 | full_path = build_path_from_dentry(file->f_path.dentry); |
317 | if (full_path == NULL) { | 315 | if (full_path == NULL) { |