Skip to content

Commit

Permalink
cifs: remove unused parameter from cifs_posix_open_inode_helper()
Browse files Browse the repository at this point in the history
..a left over from the commit 3321b79.

Cc: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
  • Loading branch information
Suresh Jayaraman authored and Steve French committed May 10, 2010
1 parent bdfae14 commit 51c8176
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions fs/cifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 51c8176

Please sign in to comment.