Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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 */
static inline int
cifs_posix_open_inode_helper(struct inode *inode, struct file *file,
			     struct cifsInodeInfo *pCifsInode,
			     struct cifsFileInfo *pCifsFile, __u32 oplock,
			     struct cifsInodeInfo *pCifsInode, __u32 oplock,
			     u16 netfid)
{

@@ -311,7 +310,7 @@ int cifs_open(struct inode *inode, struct file *file)

			pCifsFile = cifs_fill_filedata(file);
			cifs_posix_open_inode_helper(inode, file, pCifsInode,
						     pCifsFile, oplock, netfid);
						     oplock, netfid);
			goto out;
		} else if ((rc == -EINVAL) || (rc == -EOPNOTSUPP)) {
			if (tcon->ses->serverNOS)