From: Liu Bo Date: Tue, 16 Apr 2013 09:20:28 +0000 (+0000) Subject: Btrfs: return error when we specify wrong start to defrag X-Git-Tag: v3.10-rc1~31^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0abd5b17249ea5ca49a3a9ad4285cac3dfa8c30b;p=pandora-kernel.git Btrfs: return error when we specify wrong start to defrag We need such a sanity check for wrong start when we defrag a file, otherwise, even with a wrong start that's larger than file size, we can end up changing not only inode's force compress flag but also FS's incompat flags. Signed-off-by: Liu Bo Reviewed-by: David Sterba Signed-off-by: Josef Bacik --- Reading git-diff-tree failed