diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 5b9d1f25aaec3f396bbf7ab7d12fff9436ac6f38..02a2df9cdd9cf611cec41b4fd9d7c88bac454b11 100644 --- 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, pCifsInode, - oplock, netfid); + rc = cifs_posix_open_inode_helper(inode, file, + pCifsInode, oplock, netfid); goto out; } else if ((rc == -EINVAL) || (rc == -EOPNOTSUPP)) { if (tcon->ses->serverNOS)