diff options
Diffstat (limited to 'xlators/features/upcall/src')
-rw-r--r-- | xlators/features/upcall/src/upcall-internal.c | 2 | ||||
-rw-r--r-- | xlators/features/upcall/src/upcall.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/xlators/features/upcall/src/upcall-internal.c b/xlators/features/upcall/src/upcall-internal.c index d8131a9f2ab..73ade8324b7 100644 --- a/xlators/features/upcall/src/upcall-internal.c +++ b/xlators/features/upcall/src/upcall-internal.c @@ -705,7 +705,7 @@ out: } /* - * This is called during upcall_inode_ctx cleanup incase of 'inode_forget'. + * This is called during upcall_inode_ctx cleanup in case of 'inode_forget'. * Send "UP_FORGET" to all the clients so that they invalidate their cache * entry and do a fresh lookup next time when any I/O comes in. */ diff --git a/xlators/features/upcall/src/upcall.c b/xlators/features/upcall/src/upcall.c index 0bf1f413a94..6dfc8723553 100644 --- a/xlators/features/upcall/src/upcall.c +++ b/xlators/features/upcall/src/upcall.c @@ -326,7 +326,7 @@ up_setattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this, goto out; } /* XXX: setattr -> UP_SIZE or UP_OWN or UP_MODE or UP_TIMES - * or INODE_UPDATE (or UP_PERM esp incase of ACLs -> INODE_INVALIDATE) + * or INODE_UPDATE (or UP_PERM esp in case of ACLs -> INODE_INVALIDATE) * Need to check what attr is changed and accordingly pass UP_FLAGS. * Bug1200271. */ @@ -2118,11 +2118,11 @@ err: * - Do not filter unregistered xattrs in the cbk, but in the call path. * Else, we will be invalidating on every preop, if the file already has * pending xattr set. Filtering unregistered xattrs on the fop path - * ensures we invalidate only in postop, everytime a postop comes with + * ensures we invalidate only in postop, every time a postop comes with * pending xattr value 1. * - Consider a brick is down, and the postop sets pending xattrs as long - * as the other brick is down. But we do not want to invalidate everytime - * a pending xattr is set, but we wan't to inalidate only the first time + * as the other brick is down. But we do not want to invalidate every time + * a pending xattr is set, but we want to invalidate only the first time * a pending xattr is set on any file. Hence, to identify if its the first * time a pending xattr is set, we compare the value of pending xattrs that * came in postop and postop cbk, if its same then its the first time. @@ -2527,7 +2527,7 @@ struct xlator_fops fops = { * notifications are not sent in this case. * But however, we need to store/update the * client info in the upcall state to be able - * to notify them incase of any changes done + * to notify them in case of any changes done * to the data. * * Below such fops do not trigger upcall |