diff options
Diffstat (limited to 'fs/cifs/misc.c')
-rw-r--r-- | fs/cifs/misc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index 40d50b77bfe7..fafbdbfa63a1 100644 --- a/fs/cifs/misc.c +++ b/fs/cifs/misc.c | |||
@@ -520,9 +520,7 @@ is_valid_oplock_break(struct smb_hdr *buf) | |||
520 | list_for_each(tmp, &GlobalTreeConnectionList) { | 520 | list_for_each(tmp, &GlobalTreeConnectionList) { |
521 | tcon = list_entry(tmp, struct cifsTconInfo, cifsConnectionList); | 521 | tcon = list_entry(tmp, struct cifsTconInfo, cifsConnectionList); |
522 | if (tcon->tid == buf->Tid) { | 522 | if (tcon->tid == buf->Tid) { |
523 | #ifdef CONFIG_CIFS_STATS | 523 | cifs_stats_inc(&tcon->num_oplock_brks); |
524 | atomic_inc(&tcon->num_oplock_brks); | ||
525 | #endif | ||
526 | list_for_each(tmp1,&tcon->openFileList){ | 524 | list_for_each(tmp1,&tcon->openFileList){ |
527 | netfile = list_entry(tmp1,struct cifsFileInfo, | 525 | netfile = list_entry(tmp1,struct cifsFileInfo, |
528 | tlist); | 526 | tlist); |