libnfs: Don't perform operations on nfsfh after user callback
authorRoss Lagerwall <rosslagerwall@gmail.com>
Sun, 10 Aug 2014 11:16:47 +0000 (12:16 +0100)
committerRoss Lagerwall <rosslagerwall@gmail.com>
Sun, 10 Aug 2014 11:18:56 +0000 (12:18 +0100)
commit9cac8a63409f8b6160d3ad48a65a6358372c4fdd
treec31a1ce9dc51742274e55a44e7e44da5a384207a
parenta64800f37303394e08b3a109d7bb9668376def24
libnfs: Don't perform operations on nfsfh after user callback

Since the user callback may perform operations on the nfsfh (e.g. it
might close it), all updates should be done before the user callback is
called.

Signed-off-by: Ross Lagerwall <rosslagerwall@gmail.com>
lib/libnfs.c