From: NeilBrown Date: Tue, 3 May 2011 05:12:43 +0000 (+1000) Subject: misc comment fixes X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=50adf1a9e601e281faf942956194214a42ffb09b;p=LaFS.git misc comment fixes Signed-off-by: NeilBrown --- diff --git a/index.c b/index.c index bb2a01a..b6b5ebd 100644 --- a/index.c +++ b/index.c @@ -2086,7 +2086,7 @@ int lafs_allocated_block(struct fs *fs, struct block *blk, u64 phys) break; LAFS_BUG(i == fs->maxsnapshot, blk); blk->physaddr = phys; /* superblock doesn't get - counted in summaries */ + * counted in summaries */ LAFS_BUG(test_bit(B_SegRef, &blk->flags), blk); set_bit(B_PhysValid, &blk->flags); fs->ss[i].root_addr = phys; diff --git a/segments.c b/segments.c index e1c5a22..ec64737 100644 --- a/segments.c +++ b/segments.c @@ -298,7 +298,7 @@ int lafs_seg_ref_block(struct block *b, int ssnum) * b2. However it is hard to prove that will stay around long * enough so we take an extra ref just in case. * We only need the ref when we drop private_lock so only take - * it then. We cannot drop and old ref at that point, so + * it then. We cannot drop an old ref at that point, so * store the old ref in 'to_put' and drop it when releasing * private_lock. */