Files
mirror_zfs/module/os/linux/zfs
Mateusz Guzik 7e76d21bc8 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-30 16:04:05 -07:00
..
2020-08-30 14:18:50 -07:00
2020-08-30 14:19:08 -07:00
2020-07-19 09:56:21 -07:00
2019-09-12 13:33:44 -07:00
2019-09-12 13:33:44 -07:00
2020-10-16 13:05:00 -07:00
2020-10-16 12:55:56 -07:00
2020-10-16 12:55:56 -07:00
2020-04-10 10:33:35 -07:00
2020-10-16 13:05:00 -07:00
2020-06-18 12:20:38 -07:00
2020-06-18 12:20:38 -07:00
2020-09-18 12:38:09 -07:00