]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: read lock extent buffer while walking backrefs
authorFilipe Manana <fdmanana@suse.com>
Wed, 2 Jul 2014 19:07:54 +0000 (20:07 +0100)
committerChris Mason <clm@fb.com>
Fri, 15 Aug 2014 14:43:13 +0000 (07:43 -0700)
commit19391229bcef09015854f7783ccfffc1ccef638f
tree77cfeb9532c7eb15a9d6a1c880066e49e24a9e96
parent43eed2458fd49eb20d729968f58513f6d460c675
Btrfs: read lock extent buffer while walking backrefs

Before processing the extent buffer, acquire a read lock on it, so
that we're safe against concurrent updates on the extent buffer.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/backref.c