cifs: remove unused parameter from cifs_posix_open_inode_helper()
..a left over from the commit 3321b791b2
.
Cc: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
bdfae149c5
commit
51c8176472
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||||
|
|
||||||
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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue