]> git.karo-electronics.de Git - linux-beck.git/commit
hostfs: hostfs_file_open: Fix a fd leak in hostfs_file_open
authorRichard Weinberger <richard@nod.at>
Fri, 27 Feb 2015 21:56:28 +0000 (22:56 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 22:27:48 +0000 (23:27 +0100)
commitaf9556586a906106453ff7df8bcacf795b2b7d0a
tree5a8e8d173a9422b3616d6f4418510fff7720ae03
parent69886e676e89534953b12df77382504a7731f7bb
hostfs: hostfs_file_open: Fix a fd leak in hostfs_file_open

In case of a race between to callers of hostfs_file_open()
it can happen that a file describtor is leaked.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/hostfs/hostfs_kern.c