diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-01 08:39:26 -0700 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2018-05-02 15:13:55 +0800 |
commit | 38cdd5be450e6e2c719709cca3da6580f8f875d0 (patch) | |
tree | 70d63e6ecdc86623ebc43301912dfe04f1c2d489 /.gitignore | |
parent | d0f42b25301041ee5c72025d0a00cc3b5f3dc3da (diff) |
generic: test XATTR_REPLACE doesn't take the fs down
Kanda Motohiro reported that expanding a tiny xattr into a large
xattr fails on XFS because we remove the tiny xattr from a shortform
fork and then try to re-add it after converting the fork to extents
format having not removed the ATTR_REPLACE flag. This fails because
the attr is no longer present, causing a fs shutdown.
[Eryu: introduce function "fail" and use it where appropriate]
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199119
Reported-by: kanda.motohiro@gmail.com
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -52,6 +52,7 @@ /src/alloc /src/append_reader /src/append_writer +/src/attr_replace_test /src/attr-list-by-handle-cursor-test /src/bstat /src/bulkstat_unlink_test |