aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-bio.m4
diff options
context:
space:
mode:
authorMateusz Guzik <[email protected]>2020-10-29 17:54:20 +0100
committerGitHub <[email protected]>2020-10-29 09:54:20 -0700
commit973ba682f5cbbc8e89683fb439bd0605afc2b43a (patch)
tree4c2967ef517ad904f844dc5c9aebf04f62d9b522 /config/kernel-bio.m4
parent082ff328f2582ac32b74e40328c89fe7a74f4dbf (diff)
Linux: g/c leftover fence in zfs_znode_alloc
The port removed provisions for zfs_znode_move but the cleanup missed this bit. To quote the original: [snip] list_insert_tail(&zfsvfs->z_all_znodes, zp); membar_producer(); /* * Everything else must be valid before assigning z_zfsvfs makes the * znode eligible for zfs_znode_move(). */ zp->z_zfsvfs = zfsvfs; [/snip] In the current code it is immediately followed by unlock which issues the same fence, thus plays no role in correctness. Reviewed-by: Matt Macy <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Mateusz Guzik <[email protected]> Closes #11115
Diffstat (limited to 'config/kernel-bio.m4')
0 files changed, 0 insertions, 0 deletions