From: Christoph Hellwig Date: Wed, 1 Oct 2014 23:05:44 +0000 (+1000) Subject: xfs: simplify xfs_zero_remaining_bytes X-Git-Tag: fixes-against-v3.18-rc2~104^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c15612546bce1ecafb7dee3cce8a2a9b560e15e;p=pandora-kernel.git xfs: simplify xfs_zero_remaining_bytes xfs_zero_remaining_bytes() open codes a log of buffer manupulations to do a read forllowed by a write. It can simply be replaced by an uncached read followed by a xfs_bwrite() call. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- Reading git-diff-tree failed