]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fs/ocfs2/file.c: fix wrong comment
authorJunxiao Bi <junxiao.bi@oracle.com>
Tue, 5 Nov 2013 05:55:00 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:00 +0000 (16:55 +1100)
Unwritten extent only exists for file systems which support holes.  But
the comment said was opposite meaning and also the comment is not very
clear, so rephase it.

Signed-off-by: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/file.c

index 67c037af301a192b62e82947c9bc327ced0338e5..6fff128cad16164e0f10ca614db618e0af60768f 100644 (file)
@@ -580,7 +580,7 @@ static int __ocfs2_extend_allocation(struct inode *inode, u32 logical_start,
        int did_quota = 0;
 
        /*
-        * This function only exists for file systems which don't
+        * Unwritten extent only exists for file systems which
         * support holes.
         */
        BUG_ON(mark_unwritten && !ocfs2_sparse_alloc(osb));