diff options
| author | Ravishankar N <ravishankar@redhat.com> | 2018-07-19 12:47:38 +0530 |
|---|---|---|
| committer | Ravishankar N <ravishankar@redhat.com> | 2018-07-19 12:50:16 +0530 |
| commit | c1ebde370ce3b7469f162dfe8aa8751223874605 (patch) | |
| tree | 01b12f1422c1dcd89c92e7a337109821785c7bd2 /api/src | |
| parent | f98d86f2a3ecbe943c5417a13abb020962904882 (diff) | |
posix: check before removing stale symlink
Backport of https://review.gluster.org/#/c/20509/
BZ 1564071 complains of directories with missing gfid symlinks and
corresponding "Found stale gfid handle" messages in the logs. Hence
add a check to see if the symlink points to an actual directory before
removing it.
Note: Removing stale symlinks was added via commit
3e9a9c029fac359477fb26d9cc7803749ba038b2
Change-Id: I5d91fab8e5f3a621a9ecad4a1f9c898a3c2d346a
BUG: 1603093
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'api/src')
0 files changed, 0 insertions, 0 deletions
