Displaying 1 result from an estimated 1 matches for "file_inum".
Did you mean:
file_enum
2012 Oct 13
4
[PATCH] hotplug/Linux: close lockfd after lock attempt
...sles11sp2 and 4.2 xend.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
diff -r e0e1350dfe9b -r 5aa14d5afe6b tools/hotplug/Linux/locking.sh
--- a/tools/hotplug/Linux/locking.sh
+++ b/tools/hotplug/Linux/locking.sh
@@ -59,6 +59,7 @@ claim_lock()
print "y\n" if $fd_inum eq $file_inum;
'' "$_lockfile" )
if [ x$rightfile = xy ]; then break; fi
+ eval "exec $_lockfd<&-"
done
}