diff options
Diffstat (limited to 'fs/cifs/smb2misc.c')
-rw-r--r-- | fs/cifs/smb2misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/smb2misc.c b/fs/cifs/smb2misc.c index 0e3570e40ff8..e311f58dc1c8 100644 --- a/fs/cifs/smb2misc.c +++ b/fs/cifs/smb2misc.c | |||
@@ -555,7 +555,7 @@ smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp, | |||
555 | clear_bit(CIFS_INODE_DOWNGRADE_OPLOCK_TO_L2, | 555 | clear_bit(CIFS_INODE_DOWNGRADE_OPLOCK_TO_L2, |
556 | &cinode->flags); | 556 | &cinode->flags); |
557 | 557 | ||
558 | queue_work(cifsoplockd_wq, &cfile->oplock_break); | 558 | cifs_queue_oplock_break(cfile); |
559 | kfree(lw); | 559 | kfree(lw); |
560 | return true; | 560 | return true; |
561 | } | 561 | } |
@@ -712,8 +712,8 @@ smb2_is_valid_oplock_break(char *buffer, struct TCP_Server_Info *server) | |||
712 | CIFS_INODE_DOWNGRADE_OPLOCK_TO_L2, | 712 | CIFS_INODE_DOWNGRADE_OPLOCK_TO_L2, |
713 | &cinode->flags); | 713 | &cinode->flags); |
714 | spin_unlock(&cfile->file_info_lock); | 714 | spin_unlock(&cfile->file_info_lock); |
715 | queue_work(cifsoplockd_wq, | 715 | |
716 | &cfile->oplock_break); | 716 | cifs_queue_oplock_break(cfile); |
717 | 717 | ||
718 | spin_unlock(&tcon->open_file_lock); | 718 | spin_unlock(&tcon->open_file_lock); |
719 | spin_unlock(&cifs_tcp_ses_lock); | 719 | spin_unlock(&cifs_tcp_ses_lock); |