Re: [v4 PATCH 4/4] CIFS: Migrate to shared superblock model

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/5/26 Pavel Shilovsky <piastry@xxxxxxxxxxx>:
> 2011/5/26 Pavel Shilovsky <piastry@xxxxxxxxxxx>:
>> If I understand right, Jeff suggested to change wsize logic to: "less
>> or equal that specified one". In this case we can share any sb that
>> match this criteria. So, in this case it should be "if (new->wsize &&
>> new->wsize <= old->wsize) return 0;"
>
> Sorry - new->wsize >= old->wsize

Sorry again - I confused myself :)

The code should be:
if (new->wsize && new->wsize < old->wsize)
  return 0; /* don't match */

-- 
Best regards,
Pavel Shilovsky.
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux