diff options
author | David Sterba <dsterba@suse.com> | 2018-01-25 13:37:13 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-01-31 15:14:03 +0100 |
commit | 24103f42ad7a65457a62ae5c0190ea0e428cb14b (patch) | |
tree | 88f632280323a6e82dfafa75d50302bdb48e3bfb /cmds-quota.c | |
parent | d7f906c23ae53a75884b759d13e02924fa0febda (diff) |
btrfs-progs: don't clobber errno in close_file_or_dir
Preserve the errno value for the caller in case closing happens in the
middle of eg. an ioctl and reporing the failure. The errors that could
happen in close/closedir do not bother us.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-quota.c')
0 files changed, 0 insertions, 0 deletions