aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/smb2file.c')
-rw-r--r--fs/cifs/smb2file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/cifs/smb2file.c b/fs/cifs/smb2file.c
index 71e6aed4b382..5da1b55a2258 100644
--- a/fs/cifs/smb2file.c
+++ b/fs/cifs/smb2file.c
@@ -43,13 +43,13 @@ smb2_set_oplock_level(struct cifsInodeInfo *cinode, __u32 oplock)
43 if (oplock == SMB2_OPLOCK_LEVEL_EXCLUSIVE) { 43 if (oplock == SMB2_OPLOCK_LEVEL_EXCLUSIVE) {
44 cinode->clientCanCacheAll = true; 44 cinode->clientCanCacheAll = true;
45 cinode->clientCanCacheRead = true; 45 cinode->clientCanCacheRead = true;
46 cFYI(1, "Exclusive Oplock granted on inode %p", 46 cifs_dbg(FYI, "Exclusive Oplock granted on inode %p\n",
47 &cinode->vfs_inode); 47 &cinode->vfs_inode);
48 } else if (oplock == SMB2_OPLOCK_LEVEL_II) { 48 } else if (oplock == SMB2_OPLOCK_LEVEL_II) {
49 cinode->clientCanCacheAll = false; 49 cinode->clientCanCacheAll = false;
50 cinode->clientCanCacheRead = true; 50 cinode->clientCanCacheRead = true;
51 cFYI(1, "Level II Oplock granted on inode %p", 51 cifs_dbg(FYI, "Level II Oplock granted on inode %p\n",
52 &cinode->vfs_inode); 52 &cinode->vfs_inode);
53 } else { 53 } else {
54 cinode->clientCanCacheAll = false; 54 cinode->clientCanCacheAll = false;
55 cinode->clientCanCacheRead = false; 55 cinode->clientCanCacheRead = false;