summaryrefslogtreecommitdiff
path: root/quotacheck.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2017-05-18 17:19:25 +0300
committerJan Kara <jack@suse.cz>2017-05-18 17:17:13 +0200
commit251c3931fedc9275bd57bc75c2153674a540bbce (patch)
tree4d113d120d155fb6907cf4a032b73efca4f36f85 /quotacheck.c
parent7c5ce1d91e47b9334fe696c808b593e9eb8ff03c (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 'quotacheck.c')
0 files changed, 0 insertions, 0 deletions