fs: sdfat: bio->bi_error got renamed to bio->bi_status on >= 4.13
(Partial)
This commit is contained in:
parent
bac33b62ec
commit
fd1891ed9e
8
sdfat.c
8
sdfat.c
|
|
@ -216,7 +216,12 @@ static inline void inode_unlock(struct inode *inode)
|
|||
#endif
|
||||
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0)
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 13, 0)
|
||||
static void sdfat_writepage_end_io(struct bio *bio)
|
||||
{
|
||||
__sdfat_writepage_end_io(bio, bio->bi_status);
|
||||
}
|
||||
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0)
|
||||
static void sdfat_writepage_end_io(struct bio *bio)
|
||||
{
|
||||
__sdfat_writepage_end_io(bio, bio->bi_error);
|
||||
|
|
@ -5124,4 +5129,3 @@ module_exit(exit_sdfat_fs);
|
|||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("FAT/exFAT filesystem support");
|
||||
MODULE_AUTHOR("Samsung Electronics Co., Ltd.");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue