}
/*
- * this one is partialy based on parse_options() from cifs.mount.c
+ * this one is partially based on parse_options() from cifs.mount.c
*/
static char *parse_options(const char *data, int *filesys_flags)
{
/*
* The original mount locking code has used sleep(1) between attempts and
- * maximal number of attemps has been 5.
+ * maximal number of attempts has been 5.
*
* There was very small number of attempts and extremely long waiting (1s)
* that is useless on machines with large number of concurret mount processes.
/// write_pos>flush_pos, we're buffering writes.
uint64_t safe_pos; ///< what has been committed safely to disk.
- uint64_t next_safe_pos; /// start postion of the first entry that isn't
+ uint64_t next_safe_pos; /// start position of the first entry that isn't
/// being fully flushed. If we don't flush any
// partial entry, it's equal to flush_pos.
map<loff_t, BufferHead*> data;
ceph_tid_t last_write_tid; // version of bh (if non-zero)
- ceph_tid_t last_commit_tid; // last update commited.
+ ceph_tid_t last_commit_tid; // last update committed.
int dirty_or_tx;