From: Al Viro Date: Tue, 16 Jun 2015 22:06:40 +0000 (-0400) Subject: ufs: free excessive blocks upon ->write_begin() failure/short copy X-Git-Tag: omap-for-v4.3/fixes-rc1~80^2~5^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b7a3a05e8b006a73c406230b3d2d3da920779d9;p=pandora-kernel.git ufs: free excessive blocks upon ->write_begin() failure/short copy Broken in "[PATCH] ufs: truncate should allocate block for last byte"; all way back in 2006. ufs_setattr() hadn't been the only user of vmtruncate() and eliminating ->truncate() method required corrections in a bunch of places. Eventually those places had migrated into ->write_begin() failure exit and ->write_end() after short copy... Signed-off-by: Al Viro --- Reading git-diff-tree failed