exfat: fix build on x86 with 4.19 kernel

This should fix:

balloc.c:325:7: error: implicit declaration of function
'fatal_signal_pending'; did you mean 'mod_timer_pending'?
[-Werror=implicit-function-declaration]
   if (fatal_signal_pending(current)) {
       ^~~~~~~~~~~~~~~~~~~~
       mod_timer_pending
cc1: some warnings being treated as errors

Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
This commit is contained in:
Chukun Pan 2021-06-16 00:03:40 +08:00
parent f104dcf4fe
commit 19b7087397

View File

@ -7,7 +7,7 @@
#include <linux/blkdev.h>
#include <linux/slab.h>
#include <linux/buffer_head.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 4, 0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
#include <linux/sched/signal.h>
#endif