|
@@ -823,7 +823,13 @@ resend:
|
|
|
/* For flock requests we immediatelly return without further
|
|
|
delay and let caller deal with the rest, since rest of
|
|
|
this function metadata processing makes no sense for flock
|
|
|
- requests anyway */
|
|
|
+ requests anyway. But in case of problem during comms with
|
|
|
+ Server (ETIMEDOUT) or any signal/kill attempt (EINTR), we
|
|
|
+ can not rely on caller and this mainly for F_UNLCKs
|
|
|
+ (explicits or automatically generated by Kernel to clean
|
|
|
+ current FLocks upon exit) that can't be trashed */
|
|
|
+ if ((rc == -EINTR) || (rc == -ETIMEDOUT))
|
|
|
+ goto resend;
|
|
|
RETURN(rc);
|
|
|
}
|
|
|
|