summaryrefslogtreecommitdiffstats
path: root/libmount/src/lock.c
diff options
context:
space:
mode:
authorKarel Zak2012-02-22 13:02:17 +0100
committerKarel Zak2012-02-22 13:02:17 +0100
commitee3140752f7aa17185e733c3ad97551522c4fc77 (patch)
tree1b6f15c4982a759113de57d95ab47c28da53097e /libmount/src/lock.c
parentlibblkid: update docs (diff)
downloadkernel-qcow2-util-linux-ee3140752f7aa17185e733c3ad97551522c4fc77.tar.gz
kernel-qcow2-util-linux-ee3140752f7aa17185e733c3ad97551522c4fc77.tar.xz
kernel-qcow2-util-linux-ee3140752f7aa17185e733c3ad97551522c4fc77.zip
libmount: cleanup docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/lock.c')
-rw-r--r--libmount/src/lock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmount/src/lock.c b/libmount/src/lock.c
index 682c74acb..73dc6c8f7 100644
--- a/libmount/src/lock.c
+++ b/libmount/src/lock.c
@@ -298,7 +298,7 @@ static int mnt_wait_mtab_lock(struct libmnt_lock *ml, struct flock *fl, time_t m
*
* Where does the link point to? Obvious choices are mtab and mtab~~.
* HJLu points out that the latter leads to races. Right now we use
- * mtab~.<pid> instead.
+ * mtab~.pid instead.
*
*
* The original mount locking code has used sleep(1) between attempts and
@@ -319,7 +319,7 @@ static int mnt_wait_mtab_lock(struct libmnt_lock *ml, struct flock *fl, time_t m
* backwardly compatible code.
*
* Don't forget that this code has to be compatible with 3rd party mounts
- * (/sbin/mount.<foo>) and has to work with NFS.
+ * (/sbin/mount.foo) and has to work with NFS.
* -- kzak@redhat.com [May-2009]
*/