diff options
author | Suresh Jayaraman <sjayaraman@suse.de> | 2010-05-10 05:45:24 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-05-10 09:52:00 -0400 |
commit | 51c8176472de1551a301b676e36a61884e0e8494 (patch) | |
tree | 51feb2221f6447e8e20377587c7a018ee6eba3e8 /fs/cifs | |
parent | bdfae149c5b7430b9a26371f14b2d385fd3a4389 (diff) |
cifs: remove unused parameter from cifs_posix_open_inode_helper()
..a left over from the commit 3321b791b2e8897323f8c044a0c77ff25781381c.
Cc: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/file.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index d53d6308bf3a..a83541ec9713 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -108,8 +108,7 @@ static inline int cifs_get_disposition(unsigned int flags) | |||
108 | /* all arguments to this function must be checked for validity in caller */ | 108 | /* all arguments to this function must be checked for validity in caller */ |
109 | static inline int | 109 | static inline int |
110 | cifs_posix_open_inode_helper(struct inode *inode, struct file *file, | 110 | cifs_posix_open_inode_helper(struct inode *inode, struct file *file, |
111 | struct cifsInodeInfo *pCifsInode, | 111 | struct cifsInodeInfo *pCifsInode, __u32 oplock, |
112 | struct cifsFileInfo *pCifsFile, __u32 oplock, | ||
113 | u16 netfid) | 112 | u16 netfid) |
114 | { | 113 | { |
115 | 114 | ||
@@ -311,7 +310,7 @@ int cifs_open(struct inode *inode, struct file *file) | |||
311 | 310 | ||
312 | pCifsFile = cifs_fill_filedata(file); | 311 | pCifsFile = cifs_fill_filedata(file); |
313 | cifs_posix_open_inode_helper(inode, file, pCifsInode, | 312 | cifs_posix_open_inode_helper(inode, file, pCifsInode, |
314 | pCifsFile, oplock, netfid); | 313 | oplock, netfid); |
315 | goto out; | 314 | goto out; |
316 | } else if ((rc == -EINVAL) || (rc == -EOPNOTSUPP)) { | 315 | } else if ((rc == -EINVAL) || (rc == -EOPNOTSUPP)) { |
317 | if (tcon->ses->serverNOS) | 316 | if (tcon->ses->serverNOS) |