fs: tftp: fix return value
When tftp_get_inode() fails it is a sign for a out of memory situtation
rather than an indicator for no space left on the filesystem, so return
-ENOMEM.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0909ed8 commit c45c74edc20386af8fe12fecb97b5953ba9716b0
@Sascha Hauer Sascha Hauer authored on 30 Aug 2018
Showing 1 changed file
View
fs/tftp.c