diff options
author | 2018-10-18 17:20:50 +1100 | |
---|---|---|
committer | 2018-10-18 17:20:50 +1100 | |
commit | 4c74a56b9de76bb6b581274b76b52535ad77c2a7 (patch) | |
tree | 48abd647a36ae8326880720ba93f7a767e1aed11 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | xfs: Move fs/xfs/xfs_attr.h to fs/xfs/libxfs/xfs_attr.h (diff) | |
download | linux-rng-4c74a56b9de76bb6b581274b76b52535ad77c2a7.tar.xz linux-rng-4c74a56b9de76bb6b581274b76b52535ad77c2a7.zip |
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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions