diff --git a/[refs] b/[refs] index ff065260ada6..8d34b926b519 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4edc53c1f8cdd99d349165d6c61c45aa4e8e2564 +refs/heads/master: 8b0192a5f478da1c1ae906bf3ffff53f26204f56 diff --git a/trunk/fs/cifs/dir.c b/trunk/fs/cifs/dir.c index df8fecb5b993..63a196b97d50 100644 --- a/trunk/fs/cifs/dir.c +++ b/trunk/fs/cifs/dir.c @@ -492,7 +492,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry, { int xid; int rc = 0; /* to get around spurious gcc warning, set to zero here */ - __u32 oplock = 0; + __u32 oplock = enable_oplocks ? REQ_OPLOCK : 0; __u16 fileHandle = 0; bool posix_open = false; struct cifs_sb_info *cifs_sb;