aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r--fs/cifs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index fd57165f55fa..8e184150cfb5 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -371,7 +371,7 @@ int cifs_open(struct inode *inode, struct file *file)
371 cFYI(1, "inode = 0x%p file flags are 0x%x for %s", 371 cFYI(1, "inode = 0x%p file flags are 0x%x for %s",
372 inode, file->f_flags, full_path); 372 inode, file->f_flags, full_path);
373 373
374 if (oplockEnabled) 374 if (enable_oplocks)
375 oplock = REQ_OPLOCK; 375 oplock = REQ_OPLOCK;
376 else 376 else
377 oplock = 0; 377 oplock = 0;
@@ -495,7 +495,7 @@ static int cifs_reopen_file(struct cifsFileInfo *pCifsFile, bool can_flush)
495 cFYI(1, "inode = 0x%p file flags 0x%x for %s", 495 cFYI(1, "inode = 0x%p file flags 0x%x for %s",
496 inode, pCifsFile->f_flags, full_path); 496 inode, pCifsFile->f_flags, full_path);
497 497
498 if (oplockEnabled) 498 if (enable_oplocks)
499 oplock = REQ_OPLOCK; 499 oplock = REQ_OPLOCK;
500 else 500 else
501 oplock = 0; 501 oplock = 0;