Re: [PATCH] Btrfs: fix various things with the listing ioctl

2009-12-14 Thread TARUISI Hiroaki
(2009/12/15 4:17), Josef Bacik wrote: > With slab poisoning on you could panic the box simply by running btrfsctl -l > multiple times in a row on the same volume. This patch fixes up the ioctl > stuff > to be a bit cleaner, makes sure we always call btrfs_free_path() instead of > kfree(path) and

[PATCH] Btrfs: fix various things with the listing ioctl

2009-12-14 Thread Josef Bacik
With slab poisoning on you could panic the box simply by running btrfsctl -l multiple times in a row on the same volume. This patch fixes up the ioctl stuff to be a bit cleaner, makes sure we always call btrfs_free_path() instead of kfree(path) and make sure we do not kfree() our work names before