diff options
author | N Balachandran <nbalacha@redhat.com> | 2018-11-09 17:06:22 +0530 |
---|---|---|
committer | N Balachandran <nbalacha@redhat.com> | 2018-11-19 05:44:39 +0000 |
commit | 5664c58089127ba5214a7d922eed1aa1b4932402 (patch) | |
tree | 8b00b4601100faccb6e497d1b9255a8e825437bd /tests/bugs/quota/bug-1260545.t | |
parent | 5af9799ab7c6185a852c48ef6b8655d294a50d2d (diff) |
cluster/dht: sync brick root perms on add brick
If a single brick is added to the volume and the
newly added brick is the first to respond to a
dht_revalidate call, its stbuf will not be merged
into local->stbuf as the brick does not yet have
a layout. The is_permission_different check therefore
fails to detect that an attr heal is required as it
only considers the stbuf values from existing bricks.
To fix this, merge all stbuf values into local->stbuf
and use local->prebuf to store the correct directory
attributes.
Change-Id: Ic9e8b04a1ab9ed1248b6b056e3450bbafe32e1bc
fixes: bz#1648298
Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'tests/bugs/quota/bug-1260545.t')
0 files changed, 0 insertions, 0 deletions