projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db46024
)
cifs: don't ignore cifs_posix_open_inode_helper return value
author
Suresh Jayaraman
<sjayaraman@suse.de>
Wed, 16 Jun 2010 17:40:17 +0000
(13:40 -0400)
committer
Jeff Layton
<jlayton@redhat.com>
Wed, 16 Jun 2010 17:40:17 +0000
(13:40 -0400)
...and ensure that we propagate the error back to avoid any surprises.
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Reviewed-and-Tested-by: Jeff Layton <jlayton@redhat.com>
fs/cifs/file.c
patch
|
blob
|
history
diff --git
a/fs/cifs/file.c
b/fs/cifs/file.c
index
5b9d1f2
..
02a2df9
100644
(file)
--- a/
fs/cifs/file.c
+++ b/
fs/cifs/file.c
@@
-277,8
+277,8
@@
int cifs_open(struct inode *inode, struct file *file)
goto out;
}
-
cifs_posix_open_inode_helper(inode, file, pCifsInod
e,
-
oplock, netfid);
+
rc = cifs_posix_open_inode_helper(inode, fil
e,
+
pCifsInode,
oplock, netfid);
goto out;
} else if ((rc == -EINVAL) || (rc == -EOPNOTSUPP)) {
if (tcon->ses->serverNOS)