[dm-devel] [PATCH] dm snapshot: Fix typo in comments

Zhang Jiaming jiaming at nfschina.com
Fri Jul 1 08:09:59 UTC 2022


There is a typo (writeable) in comments.
Fix it.

Signed-off-by: Zhang Jiaming <jiaming at nfschina.com>
---
 drivers/md/dm-snap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/md/dm-snap.c b/drivers/md/dm-snap.c
index 0d336b5ec571..d1c2f84d27e3 100644
--- a/drivers/md/dm-snap.c
+++ b/drivers/md/dm-snap.c
@@ -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
 	 * flags so we should only get this if we are
-	 * writeable.
+	 * writable.
 	 */
 	if (bio_data_dir(bio) == WRITE) {
 		pe = __lookup_pending_exception(s, chunk);
-- 
2.25.1



More information about the dm-devel mailing list