diff options
author | Tony Hutter <[email protected]> | 2017-03-08 09:20:21 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-03-08 09:20:21 -0800 |
commit | 463009865fb4398b32a825d7c00cd8a942637fae (patch) | |
tree | d0e057b5f6787310aeffc76f4aec63807e8b9b5e /module/zfs/zfs_vnops.c | |
parent | 423e7b62613d0a359e488cf2599a44174d073805 (diff) |
Fix harmless "BARRIER is deprecated" kernel warning on Centos 6.8
A one time warning after module load that "BARRIER is deprecated" was seen
on the heavily patched 2.6.32-642.13.1.el6.x86_64 Centos 6.8 kernel. It seems
that kernel had both the old BARRIER and the newer FLUSH/FUA interfaces
defined. This fixes the warning by prefering the newer FLUSH/FUA interface
if it's available.
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tony Hutter <[email protected]>
Closes #5739
Closes #5828
Diffstat (limited to 'module/zfs/zfs_vnops.c')
0 files changed, 0 insertions, 0 deletions