]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: Drop dirty roots created by log replay immediately when
authorYan Zheng <zheng.yan@oracle.com>
Thu, 20 Nov 2008 15:25:19 +0000 (10:25 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 20 Nov 2008 15:25:19 +0000 (10:25 -0500)
commitfbdab2c565d8967b5d4b03924e10b816cc343438
treea9cc015cdaa47ab42b60525d1a4285cc723a21d7
parentf48db46476dbd403cb85d0ad3db7b9a8a8c664c0
Btrfs: Drop dirty roots created by log replay immediately when

The log replay produces dirty roots. These dirty roots
should be dropped immediately if the fs is mounted as
ro. Otherwise they can be added to the dirty root list
again when remounting the fs as rw. Thank you,

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
fs/btrfs/disk-io.c