diff options
author | Sukadev Bhattiprolu <sukadev@linux.ibm.com> | 2021-06-23 21:13:14 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-24 11:22:23 -0700 |
commit | 552a33729f1a7cc5115d0752064fe9abd6e3e336 (patch) | |
tree | 6cd6b190deb2adf4d5228ba718ea1017c73176cd /fs/statfs.c | |
parent | 72368f8b2b9e4106072a2728bed3367d54641c22 (diff) | |
download | linux-stable-552a33729f1a7cc5115d0752064fe9abd6e3e336.tar.gz linux-stable-552a33729f1a7cc5115d0752064fe9abd6e3e336.tar.bz2 linux-stable-552a33729f1a7cc5115d0752064fe9abd6e3e336.zip |
ibmvnic: set ltb->buff to NULL after freeing
free_long_term_buff() checks ltb->buff to decide whether we have a long
term buffer to free. So set ltb->buff to NULL afer freeing. While here,
also clear ->map_id, fix up some coding style and log an error.
Fixes: 9c4eaabd1bb39 ("Check CRQ command return codes")
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/statfs.c')
0 files changed, 0 insertions, 0 deletions