Merge branch 'x86/asm' into x86/apic, to resolve a conflict
[firefly-linux-kernel-4.4.55.git] / fs / nfs / flexfilelayout / flexfilelayoutdev.c
index e2c01f204a956b584725d1d187d1ea1fc22d6ab0..77a2d026aa12b62bdc29dac2345cff0b3237e9c4 100644 (file)
@@ -30,7 +30,7 @@ void nfs4_ff_layout_free_deviceid(struct nfs4_ff_layout_ds *mirror_ds)
 {
        nfs4_print_deviceid(&mirror_ds->id_node.deviceid);
        nfs4_pnfs_ds_put(mirror_ds->ds);
-       kfree(mirror_ds);
+       kfree_rcu(mirror_ds, id_node.rcu);
 }
 
 /* Decode opaque device data and construct new_ds using it */