mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Linux 2.6.39 compat, invalidate_inodes()
To resolve a potiential filesystem corruption issue a second argument was added to invalidate_inodes(). This argument controls whether dirty inodes are dropped or treated as busy when invalidating a super block. When only the legacy API is available the second argument will be dropped for compatibility.
This commit is contained in:
@@ -2105,7 +2105,7 @@ spl_kmem_init_kallsyms_lookup(void)
|
||||
|
||||
#ifndef HAVE_INVALIDATE_INODES
|
||||
invalidate_inodes_fn = (invalidate_inodes_t)
|
||||
spl_kallsyms_lookup_name("invalidate_inodes");
|
||||
spl_kallsyms_lookup_name("invalidate_inodes");
|
||||
if (!invalidate_inodes_fn) {
|
||||
printk(KERN_ERR "Error: Unknown symbol invalidate_inodes\n");
|
||||
return -EFAULT;
|
||||
|
||||
Reference in New Issue
Block a user