Commit f6d8abd9 authored by Konstantin Artyushkin's avatar Konstantin Artyushkin Committed by Vitaly Lipatov

fix duplicate closing parenthesis

parent 3b3c55db
......@@ -805,7 +805,7 @@ static int cifs_setlease(struct file *file, long arg, struct file_lock **lease,
/* check if file is oplocked */
if (((arg == F_RDLCK) && CIFS_CACHE_READ(CIFS_I(inode))) ||
((arg == F_WRLCK) && CIFS_CACHE_WRITE(CIFS_I(inode))))
return generic_setlease(file, arg, lease, priv));
return generic_setlease(file, arg, lease, priv);
else if (tlink_tcon(cfile->tlink)->local_lease &&
!CIFS_CACHE_READ(CIFS_I(inode)))
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment