diff options
author | Ravishankar N <ravishankar@redhat.com> | 2018-07-14 10:05:41 +0530 |
---|---|---|
committer | jiffin tony Thottan <jthottan@redhat.com> | 2018-07-19 05:05:55 +0000 |
commit | 9ab218be5e69b9f71fe4eea9ca8d114b78cafd25 (patch) | |
tree | f1a69791f51b089a5b2b4a17800bce313a652f08 /extras/control-cpu-load.sh | |
parent | 730542a5d8c3d9be2202d3c26e9ff5c9404e3fe2 (diff) |
posix: check before removing stale symlink
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
Updates: bz#1564071
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Diffstat (limited to 'extras/control-cpu-load.sh')
0 files changed, 0 insertions, 0 deletions