summaryrefslogtreecommitdiff
path: root/fs/cifs/misc.c
diff options
context:
space:
mode:
authorPavel Shilovsky <pshilovsky@samba.org>2012-05-28 14:16:31 +0400
committerPavel Shilovsky <pshilovsky@samba.org>2012-07-24 21:55:18 +0400
commit44c581866e2ae4bbc3c8eea5a3e3c7a0f639e12d (patch)
tree00673c45c35bcc8d79bc79c77f23b395e5ad9b79 /fs/cifs/misc.c
parent9094fad1ed90caebd25b1bdec3c8982d079356ee (diff)
downloadlinux-44c581866e2ae4bbc3c8eea5a3e3c7a0f639e12d.tar.xz
CIFS: Move clear/print_stats code to ops struct
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/misc.c')
-rw-r--r--fs/cifs/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c
index ad2538a64c70..ce41fee07e5b 100644
--- a/fs/cifs/misc.c
+++ b/fs/cifs/misc.c
@@ -461,7 +461,7 @@ is_valid_oplock_break(char *buffer, struct TCP_Server_Info *srv)
if (tcon->tid != buf->Tid)
continue;
- cifs_stats_inc(&tcon->num_oplock_brks);
+ cifs_stats_inc(&tcon->stats.cifs_stats.num_oplock_brks);
spin_lock(&cifs_file_list_lock);
list_for_each(tmp2, &tcon->openFileList) {
netfile = list_entry(tmp2, struct cifsFileInfo,