From: Joe Thornber Date: Fri, 27 Jul 2012 14:08:06 +0000 (+0100) Subject: dm persistent data: always unlock superblock in dm_bm_flush_and_unlock X-Git-Tag: v3.6-rc1~56^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d44c98aac540cdf3cb5385bc6ef8d56930c7d70;p=pandora-kernel.git dm persistent data: always unlock superblock in dm_bm_flush_and_unlock Unlock the superblock even if initial dm_bufio_write_dirty_buffers fails. Also, remove redundant flush calls. dm_bm_flush_and_unlock's calls to dm_bufio_write_dirty_buffers already result in dm_bufio_issue_flush being called. This avoids warnings about unflushed dirty buffers from bufio. Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed