diff options
author | Ravishankar N <ravishankar@redhat.com> | 2017-07-31 23:38:20 +0530 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-08-04 15:54:01 +0000 |
commit | 42c057a6d1a03dd2825a278393acb15d52220c8d (patch) | |
tree | e626ed22547a454b142b2396e59c5008f7c06525 /xlators/features/read-only/src/read-only.c | |
parent | 6d1068ddb35be19df36210c9fcaa7ce97e2a376a (diff) |
posix: add sanity checks for removing the gfid symlink for directories
...during mkdir and rmdir. Otherwise, during entry self-heal, the
directory could be left out without a .glusterfs symlink causing fops like
opendir, readdir to fail. The only chance the missing symlink will be
created is when a fresh lookup comes on it.
Change-Id: I2e1cf1bce8962ea80187edd8f6d73e0a09cf9f8e
BUG: 1477169
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: https://review.gluster.org/17945
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/features/read-only/src/read-only.c')
0 files changed, 0 insertions, 0 deletions