Re: [PATCH] btrfs: prepare for extensions in compression options

2017-07-27 Thread David Sterba
On Thu, Jul 27, 2017 at 03:25:37PM +0800, Anand Jain wrote: > On 07/18/2017 12:22 AM, David Sterba wrote: > > This is a minimal patch intended to be backported to older kernels. > > We're going to extend the string specifying the compression method and > > this would fail on kernels before that cha

Re: [PATCH] btrfs: prepare for extensions in compression options

2017-07-27 Thread Anand Jain
On 07/18/2017 12:22 AM, David Sterba wrote: This is a minimal patch intended to be backported to older kernels. We're going to extend the string specifying the compression method and this would fail on kernels before that change (the string is compared exactly). Relax the string matching only

[PATCH] btrfs: prepare for extensions in compression options

2017-07-17 Thread David Sterba
This is a minimal patch intended to be backported to older kernels. We're going to extend the string specifying the compression method and this would fail on kernels before that change (the string is compared exactly). Relax the string matching only to the prefix, ie. ignoring anything that goes a