diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2014-06-22 01:04:54 -0400 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2014-06-22 01:04:54 -0400 |
commit | b474c7ae4395ba684e85fde8f55c8cf44a39afaf (patch) | |
tree | a7d3cad895a9e1f14894710b43e9ccbf634da3f1 /fs/xfs/xfs_icache.c | |
parent | d99831ff393ff2e28d6110b41f24d9fecf986222 (diff) |
xfs: Nuke XFS_ERROR macro
XFS_ERROR was designed long ago to trap return values, but it's not
runtime configurable, it's not consistently used, and we can do
similar error trapping with ftrace scripts and triggers from
userspace.
Just nuke XFS_ERROR and associated bits.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_icache.c')
-rw-r--r-- | fs/xfs/xfs_icache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c index c48df5f25b9f..f2cc936d713e 100644 --- a/fs/xfs/xfs_icache.c +++ b/fs/xfs/xfs_icache.c | |||
@@ -656,7 +656,7 @@ xfs_inode_ag_iterator( | |||
656 | break; | 656 | break; |
657 | } | 657 | } |
658 | } | 658 | } |
659 | return XFS_ERROR(last_error); | 659 | return last_error; |
660 | } | 660 | } |
661 | 661 | ||
662 | int | 662 | int |
@@ -684,7 +684,7 @@ xfs_inode_ag_iterator_tag( | |||
684 | break; | 684 | break; |
685 | } | 685 | } |
686 | } | 686 | } |
687 | return XFS_ERROR(last_error); | 687 | return last_error; |
688 | } | 688 | } |
689 | 689 | ||
690 | /* | 690 | /* |
@@ -1129,7 +1129,7 @@ restart: | |||
1129 | trylock = 0; | 1129 | trylock = 0; |
1130 | goto restart; | 1130 | goto restart; |
1131 | } | 1131 | } |
1132 | return XFS_ERROR(last_error); | 1132 | return last_error; |
1133 | } | 1133 | } |
1134 | 1134 | ||
1135 | int | 1135 | int |