diff options
author | Allison Henderson <allison.henderson@oracle.com> | 2021-02-18 11:09:18 +0300 |
---|---|---|
committer | Allison Henderson <allison.henderson@oracle.com> | 2021-06-01 20:49:42 +0300 |
commit | 6286514b63e12d7bedc67e46aa1aeff9ed8378ce (patch) | |
tree | bd5726fdee9538aed9b881a654ea635c5f433c20 /lib/netdev-notifier-error-inject.c | |
parent | a8490f699f6ec88843879b92cbb21953dab379ee (diff) | |
download | linux-6286514b63e12d7bedc67e46aa1aeff9ed8378ce.tar.xz |
xfs: Refactor xfs_attr_set_shortform
This patch is actually the combination of patches from the previous
version (v18). Initially patch 3 hoisted xfs_attr_set_shortform, and
the next added the helper xfs_attr_set_fmt. xfs_attr_set_fmt is similar
the old xfs_attr_set_shortform. It returns 0 when the attr has been set
and no further action is needed. It returns -EAGAIN when shortform has
been transformed to leaf, and the calling function should proceed the
set the attr in leaf form.
Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions