diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2017-05-18 17:19:25 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-05-18 17:17:13 +0200 |
commit | 251c3931fedc9275bd57bc75c2153674a540bbce (patch) | |
tree | 4d113d120d155fb6907cf4a032b73efca4f36f85 /bylabel.c | |
parent | 7c5ce1d91e47b9334fe696c808b593e9eb8ff03c (diff) |
quotaops: check return code of ftruncate and lseek calls
ftruncate and lseek syscalls may fail for different reasons,
do not ignore these errors. Create a helper function and use it
instead of duplicating error checks and diagnostic messages.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'bylabel.c')
0 files changed, 0 insertions, 0 deletions