aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb1ops.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2012-02-28 06:04:17 -0500
committerPavel Shilovsky <piastry@etersoft.ru>2012-05-17 05:07:41 -0400
commit55157dfbb566e23e3c76489cb028fc82bd985ea1 (patch)
tree46f8284bce1d3d37f69c33731b637ea82fbffff5 /fs/cifs/smb1ops.c
parent106dc538abac88e804c63b7fe21ffb09cffaefc7 (diff)
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.c7
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,
60 return rc; 60 return rc;
61} 61}
62 62
63static bool
64cifs_compare_fids(struct cifsFileInfo *ob1, struct cifsFileInfo *ob2)
65{
66 return ob1->netfid == ob2->netfid;
67}
68
63struct smb_version_operations smb1_operations = { 69struct smb_version_operations smb1_operations = {
64 .send_cancel = send_nt_cancel, 70 .send_cancel = send_nt_cancel,
71 .compare_fids = cifs_compare_fids,
65}; 72};
66 73
67struct smb_version_values smb1_values = { 74struct smb_version_values smb1_values = {