Commit 962c6296 authored by Zhang Jiaming's avatar Zhang Jiaming Committed by Mike Snitzer

dm snapshot: fix typo in snapshot_map() comment

Signed-off-by: default avatarZhang Jiaming <jiaming@nfschina.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent ce92fc4b
...@@ -2026,7 +2026,7 @@ static int snapshot_map(struct dm_target *ti, struct bio *bio) ...@@ -2026,7 +2026,7 @@ static int snapshot_map(struct dm_target *ti, struct bio *bio)
/* /*
* Write to snapshot - higher level takes care of RW/RO * Write to snapshot - higher level takes care of RW/RO
* flags so we should only get this if we are * flags so we should only get this if we are
* writeable. * writable.
*/ */
if (bio_data_dir(bio) == WRITE) { if (bio_data_dir(bio) == WRITE) {
pe = __lookup_pending_exception(s, chunk); pe = __lookup_pending_exception(s, chunk);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment