summaryrefslogtreecommitdiff
path: root/storeio
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-19 20:56:46 +0000
committerRoland McGrath <roland@gnu.org>2000-03-19 20:56:46 +0000
commit245720c7dff24eda094b0541e5dd93c51f589fea (patch)
treeaf16697150bf08eb62cd2339b3bd69f7a34b6219 /storeio
parentf3b792232f9a4bce7c248b3aae6292f35dbc8dec (diff)
2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
* io.c: Comments.
Diffstat (limited to 'storeio')
-rw-r--r--storeio/io.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/storeio/io.c b/storeio/io.c
index cffe917a..8c311866 100644
--- a/storeio/io.c
+++ b/storeio/io.c
@@ -1,8 +1,7 @@
/* The hurd io interface to storeio
- Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
-
- Written by Miles Bader <miles@gnu.ai.mit.edu>
+ Copyright (C) 1995,96,97,99,2000 Free Software Foundation, Inc.
+ Written by Miles Bader <miles@gnu.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -247,7 +246,7 @@ trivfs_S_io_get_owner (struct trivfs_protid *cred,
else
{
struct open *open = (struct open *)cred->po->hook;
- *owner = open->dev->owner;
+ *owner = open->dev->owner; /* atomic word fetch */
return 0;
}
}
@@ -262,7 +261,7 @@ trivfs_S_io_mod_owner (struct trivfs_protid *cred,
else
{
struct open *open = (struct open *)cred->po->hook;
- open->dev->owner = owner;
+ open->dev->owner = owner; /* atomic word store */
return 0;
}
}