diff options
author | Pavel Shilovsky <piastryyy@gmail.com> | 2010-11-03 03:58:57 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-11-05 13:39:01 -0400 |
commit | c67236281c5d749741f5414103903a7c1b9c4636 (patch) | |
tree | ddc93fd5fcf47db18ce067309475a12a32b4c00c /fs/cifs/cifsproto.h | |
parent | d38922949d377da7d47473c7868334408ae3b373 (diff) |
cifs: make cifs_set_oplock_level() take a cifsInodeInfo pointer
All the callers already have a pointer to struct cifsInodeInfo. Use it.
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 7f050f4fc3d9..7ed69b6b5fe6 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -104,7 +104,7 @@ extern struct timespec cifs_NTtimeToUnix(__le64 utc_nanoseconds_since_1601); | |||
104 | extern u64 cifs_UnixTimeToNT(struct timespec); | 104 | extern u64 cifs_UnixTimeToNT(struct timespec); |
105 | extern struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time, | 105 | extern struct timespec cnvrtDosUnixTm(__le16 le_date, __le16 le_time, |
106 | int offset); | 106 | int offset); |
107 | extern void cifs_set_oplock_level(struct inode *inode, __u32 oplock); | 107 | extern void cifs_set_oplock_level(struct cifsInodeInfo *cinode, __u32 oplock); |
108 | 108 | ||
109 | extern struct cifsFileInfo *cifs_new_fileinfo(__u16 fileHandle, | 109 | extern struct cifsFileInfo *cifs_new_fileinfo(__u16 fileHandle, |
110 | struct file *file, struct tcon_link *tlink, | 110 | struct file *file, struct tcon_link *tlink, |