summaryrefslogtreecommitdiff
path: root/storeio/dev.c
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2011-08-15 22:10:09 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-08-20 18:36:33 +0200
commitc0eaf0fad88f15c843098a43ca2cadbf009ce094 (patch)
tree7b129c5055ded1aa400d34409d64bbab363b3e9e /storeio/dev.c
parent5a3976828225947d333ff2326d04f8b20e48e072 (diff)
fix common misspellings
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
Diffstat (limited to 'storeio/dev.c')
-rw-r--r--storeio/dev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/storeio/dev.c b/storeio/dev.c
index a7a1dd8b..31b084f9 100644
--- a/storeio/dev.c
+++ b/storeio/dev.c
@@ -226,7 +226,7 @@ dev_sync(struct dev *dev, int wait)
}
/* Takes care of buffering I/O to/from DEV for a transfer at position OFFS,
- length LEN; the amount of I/O sucessfully done is returned in AMOUNT.
+ length LEN; the amount of I/O successfully done is returned in AMOUNT.
BUF_RW is called to do I/O that's entirely inside DEV's internal buffer,
and RAW_RW to do I/O directly to DEV's store. */
static inline error_t
@@ -312,8 +312,8 @@ dev_rw (struct dev *dev, off_t offs, size_t len, size_t *amount,
/* Some non-aligned I/O has been done, or is needed, so we need to deal
with DEV's buffer, which means getting an exclusive lock. */
{
- /* Aquire a writer lock instead of a reader lock. Note that other
- writers may have aquired the lock by the time we get it. */
+ /* Acquire a writer lock instead of a reader lock. Note that other
+ writers may have acquired the lock by the time we get it. */
rwlock_reader_unlock (&dev->io_lock);
err = buffered_rw (dev, offs, len, amount, buf_rw, raw_rw);
}