Re: [PATCH] Btrfs: Don't error on resizing FS to same size

2011-11-18 Thread Mike Fleetwood
On Fri, Nov 18, 2011 at 03:52:00PM +1100, Chris Samuel wrote: > On 18/11/11 08:04, Mike Fleetwood wrote: > > > It seems overly harsh to fail a resize of a btrfs file system to the > > same size when a shrink or grow would succeed. User app GParted trips > > over this error. Allow it by bypassing

Re: [PATCH] Btrfs: Don't error on resizing FS to same size

2011-11-17 Thread Chris Samuel
On 18/11/11 08:04, Mike Fleetwood wrote: > It seems overly harsh to fail a resize of a btrfs file system to the > same size when a shrink or grow would succeed. User app GParted trips > over this error. Allow it by bypassing the shrink or grow operation. OK - I'm a newbie with the code (and I'm

[PATCH] Btrfs: Don't error on resizing FS to same size

2011-11-17 Thread Mike Fleetwood
It seems overly harsh to fail a resize of a btrfs file system to the same size when a shrink or grow would succeed. User app GParted trips over this error. Allow it by bypassing the shrink or grow operation. Signed-off-by: Mike Fleetwood --- Example failed resize: # strace -e trace=ioctl b