diff options
author | Pavel Shilovsky <piastry@etersoft.ru> | 2012-02-28 15:04:17 +0400 |
---|---|---|
committer | Pavel Shilovsky <piastry@etersoft.ru> | 2012-05-17 13:07:41 +0400 |
commit | 55157dfbb566e23e3c76489cb028fc82bd985ea1 (patch) | |
tree | 46f8284bce1d3d37f69c33731b637ea82fbffff5 /fs/cifs/smb1ops.c | |
parent | 106dc538abac88e804c63b7fe21ffb09cffaefc7 (diff) | |
download | linux-55157dfbb566e23e3c76489cb028fc82bd985ea1.tar.xz |
CIFS: Separate protocol specific part from getlk
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Diffstat (limited to 'fs/cifs/smb1ops.c')
-rw-r--r-- | fs/cifs/smb1ops.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/cifs/smb1ops.c b/fs/cifs/smb1ops.c index af48a8b8b75d..ce27f8698b20 100644 --- a/fs/cifs/smb1ops.c +++ b/fs/cifs/smb1ops.c @@ -60,8 +60,15 @@ send_nt_cancel(struct TCP_Server_Info *server, void *buf, return rc; } +static bool +cifs_compare_fids(struct cifsFileInfo *ob1, struct cifsFileInfo *ob2) +{ + return ob1->netfid == ob2->netfid; +} + struct smb_version_operations smb1_operations = { .send_cancel = send_nt_cancel, + .compare_fids = cifs_compare_fids, }; struct smb_version_values smb1_values = { |