Skip to content
Snippets Groups Projects
Commit fbde7c61 authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman
Browse files

devtmpfs: Calling delete_path() only when necessary


The deleted variable is always 1 in current code.
Initialize deleted variable to be 0, so delete_path() will be called only when
necessary.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ecfbf6fd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment