On 2012/10/24 16:15, Lukáš Czerner wrote: > On Tue, 16 Oct 2012, Lukas Czerner wrote: > >> Date: Tue, 16 Oct 2012 11:34:36 +0200 >> From: Lukas Czerner <lczerner@xxxxxxxxxx> >> To: linux-btrfs@xxxxxxxxxxxxxxx >> Cc: jbacik@xxxxxxxxxxxx, Lukas Czerner <lczerner@xxxxxxxxxx> >> Subject: [PATCH] btrfs: Return EINVAL when length to trim is less than FSB >> >> Currently if len argument in btrfs_ioctl_fitrim() is smaller than >> one FSB we will continue and finally return 0 bytes discarded. >> However if the length to discard is smaller then file system block >> we should really return EINVAL. > > ping > This patch has already sit in Josef's btrfs-next tree: http://git.kernel.org/?p=linux/kernel/git/josef/btrfs-next.git;a=commit;h=cd50b6b30f09446eafdd715db6d59299fcc5b19a -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
