Files
mirror_zfs/module/os/linux/zfs
Mateusz Guzik 973ba682f5 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 <mmacy@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #11115
2020-10-29 09:54:20 -07:00
..
2020-08-29 20:57:45 -07:00
2019-09-12 13:33:44 -07:00
2019-09-12 13:33:44 -07:00
2020-10-13 21:25:48 -07:00
2020-10-02 17:44:10 -07:00
2020-10-02 17:44:10 -07:00
2020-04-10 10:33:35 -07:00
2020-10-13 21:25:48 -07:00
2020-06-18 12:20:38 -07:00
2020-09-17 10:53:02 -07:00