file: defer checking the tmpfile until it is actually needed.
authorFelix Fietkau <nbd@openwrt.org>
Mon, 11 Jan 2016 12:27:26 +0000 (13:27 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 11 Jan 2016 12:27:53 +0000 (13:27 +0100)
commit950437eecd6048dd29eb3e11f4343372b2ddce60
tree0080edef7b8a234a0975d55e4e8c0edbecd5f292
parenta536e300370cc3ad7b14b052b9ee943e6149ba4d
file: defer checking the tmpfile until it is actually needed.

Avoids creating useless entries in the kernel dentry cache

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
file.c