diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2019-01-21 12:27:32 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-22 08:25:25 +0100 |
commit | 16cb624bf453274a4f3c43f23b4278a4e8698e7e (patch) | |
tree | 7607fe97ab416748b8db6f7fa841227c7d19fcc0 /Documentation | |
parent | 47c87c4098d19592982cd44d356e0f82f48e0639 (diff) | |
download | barebox-16cb624bf453274a4f3c43f23b4278a4e8698e7e.tar.gz barebox-16cb624bf453274a4f3c43f23b4278a4e8698e7e.tar.xz |
fs/nfs: stop using a global variable for nfs packet payload
The lifetime of the data provided by a global variable is hard to track.
So move the data pointer into the nfs_priv structure and let rpc_req
return the data to its callers which in turn are responsible to free it.
The callers are changed to use a local variable accordingly. This makes
it plausible that the previous commit catched all usages of the global
data.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions