]> git.neil.brown.name Git - LaFS.git/commitdiff
misc comment fixes
authorNeilBrown <neilb@suse.de>
Tue, 3 May 2011 05:12:43 +0000 (15:12 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 3 May 2011 05:12:43 +0000 (15:12 +1000)
Signed-off-by: NeilBrown <neilb@suse.de>
index.c
segments.c

diff --git a/index.c b/index.c
index bb2a01a9a7379ac7d17dddb0408f86e2ad5d1572..b6b5ebd220b1f125f53d3219fb68cea1963662d6 100644 (file)
--- 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;
index e1c5a22a0b40e2a63ab6e38cd353eb80fa99ddc7..ec64737ce49dd339dc6cc5fe05cf3a4d1d8bc54f 100644 (file)
@@ -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.
                 */