diff options
author | Pavel Shilovsky <pshilovsky@samba.org> | 2012-05-28 14:16:31 +0400 |
---|---|---|
committer | Pavel Shilovsky <pshilovsky@samba.org> | 2012-07-24 21:55:18 +0400 |
commit | 44c581866e2ae4bbc3c8eea5a3e3c7a0f639e12d (patch) | |
tree | 00673c45c35bcc8d79bc79c77f23b395e5ad9b79 /fs/cifs/misc.c | |
parent | 9094fad1ed90caebd25b1bdec3c8982d079356ee (diff) | |
download | op-kernel-dev-44c581866e2ae4bbc3c8eea5a3e3c7a0f639e12d.zip op-kernel-dev-44c581866e2ae4bbc3c8eea5a3e3c7a0f639e12d.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index ad2538a..ce41fee 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, |