summaryrefslogtreecommitdiffstats
path: root/xlators/features/upcall/src
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-07-16 17:03:17 +0300
committerAmar Tumballi <amarts@redhat.com>2018-07-22 14:40:16 +0000
commit621138ce763eda8270d0a4f6d7209fd50ada8787 (patch)
tree7299759993f6e9f7f34dad95fc8d8cd6ffc1b2fd /xlators/features/upcall/src
parentc0e76377d0fc47aa66f35ea70a4793731ebbd40c (diff)
All: run codespell on the code and fix issues.
Please review, it's not always just the comments that were fixed. I've had to revert of course all calls to creat() that were changed to create() ... Only compile-tested! Change-Id: I7d02e82d9766e272a7fd9cc68e51901d69e5aab5 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/features/upcall/src')
-rw-r--r--xlators/features/upcall/src/upcall-internal.c2
-rw-r--r--xlators/features/upcall/src/upcall.c10
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