]> Git Repo - linux.git/blobdiff - fs/jbd2/commit.c
Merge branch 'urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / fs / jbd2 / commit.c
index 27373f5792a4f7a5a846742cb44e624ad56f5377..e855d8260433a2c890f0cc30b10980717c1c2858 100644 (file)
@@ -997,9 +997,10 @@ restart_loop:
                         * journalled data) we need to unmap buffer and clear
                         * more bits. We also need to be careful about the check
                         * because the data page mapping can get cleared under
-                        * out hands, which alse need not to clear more bits
-                        * because the page and buffers will be freed and can
-                        * never be reused once we are done with them.
+                        * our hands. Note that if mapping == NULL, we don't
+                        * need to make buffer unmapped because the page is
+                        * already detached from the mapping and buffers cannot
+                        * get reused.
                         */
                        mapping = READ_ONCE(bh->b_page->mapping);
                        if (mapping && !sb_is_blkdev_sb(mapping->host->i_sb)) {
This page took 0.033539 seconds and 4 git commands to generate.