]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: dirty inode in process_sf_dir2 if we change namelen
authorEric Sandeen <sandeen@redhat.com>
Mon, 6 Apr 2015 23:19:51 +0000 (09:19 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 6 Apr 2015 23:19:51 +0000 (09:19 +1000)
commitcbd361be7e2b9b01906a1630880a0ee854c22d43
treeea8e34aa9dd2115d6f2171b0036d234fc17c975a
parent6367f2a3cbad8ac54b19da55ba44106871e44268
xfs_repair: dirty inode in process_sf_dir2 if we change namelen

There are two "fix sfep->namelen" cases, but we only mark
*dino_dirty = 1 in one of them.  Add the other to ensure that
the change gets written out.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
repair/dir2.c