On Tue, Jan 20, 2015 at 05:05:33PM +0800, Qu Wenruo wrote: > Fs_info->pending_changes is never cleared since the original code uses > cmpxchg(&fs_info->pending_changes, 0, 0), which will only clear it if > pending_changes is already 0. > > This will cause a lot of problem when mount it with inode_cache mount > option. > If the btrfs is mounted as inode_cache, pending_changes will always be > 1, even when the fs is frozen. > > Signed-off-by: Qu Wenruo <quwenruo@xxxxxxxxxxxxxx> Reviewed-by: David Sterba <dsterba@xxxxxxx> Chris, please add this to 3.19-rc, introduced in this dev cycle. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
