diff options
Diffstat (limited to 'xlators/cluster/afr')
| -rw-r--r-- | xlators/cluster/afr/src/afr-inode-write.c | 2 | ||||
| -rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-metadata.c | 2 | ||||
| -rw-r--r-- | xlators/cluster/afr/src/pump.h | 2 | 
3 files changed, 3 insertions, 3 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c index 776933892ff..f712166e44d 100644 --- a/xlators/cluster/afr/src/afr-inode-write.c +++ b/xlators/cluster/afr/src/afr-inode-write.c @@ -369,7 +369,7 @@ afr_do_writev (call_frame_t *frame, xlator_t *this)                 /*                  * Backend vfs ignores the 'offset' for append mode fd so                  * locking just the region provided for the writev does not -                * give consistency gurantee. The actual write may happen at a +                * give consistency guarantee. The actual write may happen at a                  * completely different range than the one provided by the                  * offset, len in the fop. So lock the entire file.                  */ diff --git a/xlators/cluster/afr/src/afr-self-heal-metadata.c b/xlators/cluster/afr/src/afr-self-heal-metadata.c index 7333f939ae5..b08bd4ebe34 100644 --- a/xlators/cluster/afr/src/afr-self-heal-metadata.c +++ b/xlators/cluster/afr/src/afr-self-heal-metadata.c @@ -116,7 +116,7 @@ mtime_ns(struct iatt *ia)  /*   * When directory content is modified, [mc]time is updated. On   * Linux, the filesystem does it, while at least on NetBSD, the - * kernel file-system independant code does it. This means that + * kernel file-system independent code does it. This means that   * when entries are added while bricks are down, the kernel sends   * a SETATTR [mc]time which will cause metadata split brain for   * the directory. In this case, clear the split brain by finding diff --git a/xlators/cluster/afr/src/pump.h b/xlators/cluster/afr/src/pump.h index 9d0b6db6a5e..7d5acd02bf6 100644 --- a/xlators/cluster/afr/src/pump.h +++ b/xlators/cluster/afr/src/pump.h @@ -30,7 +30,7 @@ typedef enum {          PUMP_STATE_RESUME,              /* Pump is resuming from a previous pause */          PUMP_STATE_PAUSE,               /* Pump is paused */          PUMP_STATE_ABORT,               /* Pump is aborted */ -        PUMP_STATE_COMMIT,              /* Pump is commited */ +        PUMP_STATE_COMMIT,              /* Pump is committed */  } pump_state_t;  typedef struct _pump_private {  | 
