summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode-map.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2017-07-20 17:00:02 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-07-21 14:08:45 -0400
commit1ebf980127924c639e2b85c08468311ba1c95b70 (patch)
tree514331ff7257270cc81f6963cc483b91cd0f0530 /fs/btrfs/inode-map.c
parentecbb903c56745d59c301db26dd7d8b74b520eb84 (diff)
downloadlinux-1ebf980127924c639e2b85c08468311ba1c95b70.tar.bz2
NFS/filelayout: Fix racy setting of fl->dsaddr in filelayout_check_deviceid()
We must set fl->dsaddr once, and once only, even if there are multiple processes calling filelayout_check_deviceid() for the same layout segment. Reported-by: Olga Kornievskaia <kolga@netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/btrfs/inode-map.c')
0 files changed, 0 insertions, 0 deletions