summaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorYan Zheng <zheng.yan@oracle.com>2009-02-12 19:14:53 (GMT)
committerChris Mason <chris.mason@oracle.com>2009-02-12 19:14:53 (GMT)
commit2456242530a21cfee82646ebeeda65d3f74faa4c (patch)
treec0e8f5eda96cefeb44a48f05a248ea22b4259ad2 /fs/btrfs/file.c
parent4008c04a07c73ec3cb1be4c1391d2159a8f75d6d (diff)
downloadlinux-fsl-qoriq-2456242530a21cfee82646ebeeda65d3f74faa4c.tar.xz
Btrfs: hold trans_mutex when using btrfs_record_root_in_trans
btrfs_record_root_in_trans needs the trans_mutex held to make sure two callers don't race to setup the root in a given transaction. This adds it to all the places that were missing it. Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions