Btrfs: fix unprotected extent map operation when logging file extents
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 1 Nov 2012 07:34:54 +0000 (07:34 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 12 Dec 2012 22:15:22 +0000 (17:15 -0500)
commitbbe1426764e5dfaa57e7b12cc954acdb3fb7f94b
treec6f5fea584e15ccbfa56308fdac998ef4ffacd52
parent315a9850da2b89c83971b26fe54a60f22bdd91ad
Btrfs: fix unprotected extent map operation when logging file extents

We forget to protect the modified_extents list, fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/tree-log.c