Merge branch 'svn-trunk'

This commit is contained in:
Bart Van Assche
2019-03-25 15:06:52 -07:00

View File

@@ -453,7 +453,7 @@ kernel_read_backport(struct file *file, void *buf, size_t count, loff_t *pos)
#define kernel_read(file, buf, count, pos) \
kernel_read_backport((file), (buf), (count), (pos))
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 9, 0) || defined(RHEL_MAJOR)
/*
* See also commit 7bb307e894d5 ("export kernel_write(), convert open-coded
* instances") # v3.9.