mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 02:54:05 +00:00
One error path can result in release_dentry_name_snapshot() being called before "name" was initialized by take_dentry_name_snapshot(). Fix by moving the release_dentry_name_snapshot() to immediately after the only use. Reported-by: Colin Ian King <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>