Commit 51c81764 authored by Suresh Jayaraman's avatar Suresh Jayaraman Committed by Steve French

cifs: remove unused parameter from cifs_posix_open_inode_helper()

..a left over from the commit 3321b791.

Cc: Jeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarSuresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent bdfae149
...@@ -108,8 +108,7 @@ static inline int cifs_get_disposition(unsigned int flags) ...@@ -108,8 +108,7 @@ static inline int cifs_get_disposition(unsigned int flags)
/* all arguments to this function must be checked for validity in caller */ /* all arguments to this function must be checked for validity in caller */
static inline int static inline int
cifs_posix_open_inode_helper(struct inode *inode, struct file *file, cifs_posix_open_inode_helper(struct inode *inode, struct file *file,
struct cifsInodeInfo *pCifsInode, struct cifsInodeInfo *pCifsInode, __u32 oplock,
struct cifsFileInfo *pCifsFile, __u32 oplock,
u16 netfid) u16 netfid)
{ {
...@@ -311,7 +310,7 @@ int cifs_open(struct inode *inode, struct file *file) ...@@ -311,7 +310,7 @@ int cifs_open(struct inode *inode, struct file *file)
pCifsFile = cifs_fill_filedata(file); pCifsFile = cifs_fill_filedata(file);
cifs_posix_open_inode_helper(inode, file, pCifsInode, cifs_posix_open_inode_helper(inode, file, pCifsInode,
pCifsFile, oplock, netfid); oplock, netfid);
goto out; goto out;
} else if ((rc == -EINVAL) || (rc == -EOPNOTSUPP)) { } else if ((rc == -EINVAL) || (rc == -EOPNOTSUPP)) {
if (tcon->ses->serverNOS) if (tcon->ses->serverNOS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment