cifs_has_mand_locks
if (server->ops->is_read_op(oplock) && cifs_has_mand_locks(cinode)) {
if (!cache_write && cache_read && cifs_has_mand_locks(cinode)) {