Low version kernel supports set_fs 5.7-
This commit is contained in:
parent
2474c46bbc
commit
81f2e7abab
@ -311,7 +311,11 @@ void load_feature_buf_from_file(char **config_buf)
|
||||
#else
|
||||
vfs_read(fp, *config_buf, size, &(fp->f_pos));
|
||||
#endif
|
||||
/// set_fs(fs);
|
||||
|
||||
#if LINUX_VERSION_CODE <= KERNEL_VERSION(5,7,19)
|
||||
set_fs(fs);
|
||||
#endif
|
||||
|
||||
filp_close(fp, NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user