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)
commite556ce2c9d2163aea122e91a1512c9a110fece5d
treea9cc015cdaa47ab42b60525d1a4285cc723a21d7
parent4b4e25f2a6ddb070bab7f7dd2bd2926fb8db9e04
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