diff options
author | Jie Liu | 2014-07-24 12:18:47 +1000 |
---|---|---|
committer | Dave Chinner | 2014-07-24 12:18:47 +1000 |
commit | c7cb51dcb0a38624d42eeabb38502fa54a4d774b (patch) | |
tree | 5a4fa186782c9e3023056e2e34a6bdf0779fedde /fs/xfs/xfs_export.c | |
parent | 549fa00679dd14beaaa685486549c637e8e02182 (diff) |
xfs: fix error handling at xfs_inumbers
From: Jie Liu <jeff.liu@oracle.com>
To fetch the file system number tables, we currently just ignore the
errors and proceed to loop over the next AG or bump agino to the next
chunk in case of btree operations failed, that is not properly because
those errors might hint us potential file system problems.
This patch rework xfs_inumbers() to handle the btree operation errors
as well as the loop conditions.
Signed-off-by: Jie Liu <jeff.liu@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_export.c')
0 files changed, 0 insertions, 0 deletions