]> git.karo-electronics.de Git - linux-beck.git/commit
dm snapshot: report merge failure in status
authorMike Snitzer <snitzer@redhat.com>
Thu, 10 Dec 2009 23:52:35 +0000 (23:52 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 10 Dec 2009 23:52:35 +0000 (23:52 +0000)
commitd8ddb1cfff0070479c1f4a07c1d4a48ef8cb188e
tree340967ea04ef1d790dfce3c324c3bfc1ce30cace
parent8a2d528620e228ddfd0df9cec0a16e034ff8db1d
dm snapshot: report merge failure in status

Set 'merge_failed' flag if a snapshot fails to merge.  Update
snapshot_status() to report "Merge failed" if 'merge_failed' is set.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap.c