mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
The reason we defer kfree until release function is because it's a general rule for kobjects: kfree of the reference counter itself is only legal in the release function. Previous patch didn't make this clear, document this in code. Cc: [email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>