diff options
author | Allison Henderson <allison.henderson@oracle.com> | 2018-10-18 09:20:50 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2018-10-18 09:20:50 +0300 |
commit | 4c74a56b9de76bb6b581274b76b52535ad77c2a7 (patch) | |
tree | 48abd647a36ae8326880720ba93f7a767e1aed11 /fs/xfs/xfs_message.h | |
parent | e2421f0b5ff3ce279573036f5cfcb0ce28b422a9 (diff) | |
download | linux-4c74a56b9de76bb6b581274b76b52535ad77c2a7.tar.xz |
xfs: Add helper function xfs_attr_try_sf_addname
This patch adds a subroutine xfs_attr_try_sf_addname
used by xfs_attr_set. This subrotine will attempt to
add the attribute name specified in args in shortform,
as well and perform error handling previously done in
xfs_attr_set.
This patch helps to pre-simplify xfs_attr_set for reviewing
purposes and reduce indentation. New function will be added
in the next patch.
[dgc: moved commit to helper function, too.]
Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_message.h')
0 files changed, 0 insertions, 0 deletions