]> git.baikalelectronics.ru Git - kernel.git/commit
devtmpfs: Calling delete_path() only when necessary
authorAxel Lin <axel.lin@ingics.com>
Sat, 16 Nov 2013 08:15:23 +0000 (16:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Dec 2013 18:10:32 +0000 (10:10 -0800)
commit0e61e926adcbe18ec3915c55dbbb05ab9e385398
treec4e59198c2920961869248c0c73b3a7d37b2b80c
parent0ff20107391c3c89d2c70c853847844f11a5f467
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: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devtmpfs.c