summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/mtd-abi.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2020-11-03 21:09:32 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-11-09 23:02:05 +0100
commit594a33a171725468a77926a41b451ec2d9a8c311 (patch)
tree18430dc28facb4470391da7e658977e43d835493 /include/linux/mtd/mtd-abi.h
parent9c26bdabd8dd4dc3aa52513c02dce2a8741d45b0 (diff)
downloadbarebox-594a33a171725468a77926a41b451ec2d9a8c311.tar.gz
barebox-594a33a171725468a77926a41b451ec2d9a8c311.tar.xz
nfs: check return value of various rpc calls
Check more carefully for failing requests. This improves the error message when trying to mount a non-exported nfs directory from: nfs_mount_req: file handle too big: 44831 to ERROR: NFS: Mounting failed: Permission denied . This also fixes an out-of-bounds access as the filehandle size (44831 above) is read from just after the network packet in the error case. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/mtd/mtd-abi.h')
0 files changed, 0 insertions, 0 deletions