[PATCH v2 0/3] Restore the kernel v5.13 text attribute write behavior

From: Bart Van Assche
Date: Thu Jul 29 2021 - 00:42:11 EST


Hi Christoph,

This patch series restores the v5.13 text attribute write behavior and also
adds unit tests for configfs. Please consider these patches for inclusion in
the Linux kernel.

Thanks,

Bart.

Changes compared to v1:
- Instead of making the text attribute write behavior POSIX compliant, restore
the v5.13 behavior.
- Added more unit tests.

Bart Van Assche (3):
configfs: Restore the kernel v5.13 text attribute write behavior
kunit: Add support for suite initialization and cleanup
configfs: Add unit tests

fs/configfs/Kconfig | 8 +
fs/configfs/Makefile | 2 +
fs/configfs/configfs-test.c | 427 ++++++++++++++++++++++++++++++++++++
fs/configfs/file.c | 18 +-
include/kunit/test.h | 4 +
lib/kunit/test.c | 14 ++
6 files changed, 461 insertions(+), 12 deletions(-)
create mode 100644 fs/configfs/configfs-test.c