summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorNikanth Karthikesan <knikanth@suse.de>2010-09-20 11:44:00 +0530
committerJiri Kosina <jkosina@suse.cz>2010-09-21 17:04:50 +0200
commit817f2c842d6c38acfd58d20d29ba583ec467ae35 (patch)
treef1afe7175e0a2b3ecf465f26804ad8c3f6f7d263 /fs
parent0bc79f7f58f5d0670c776818e38f482555bc27ae (diff)
downloadop-kernel-dev-817f2c842d6c38acfd58d20d29ba583ec467ae35.zip
op-kernel-dev-817f2c842d6c38acfd58d20d29ba583ec467ae35.tar.gz
Fix various typos of valid in comments
Fix various typos of valid. Signed-off-by: Nikanth Karthikesan <knikanth@suse.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs')
-rw-r--r--fs/jfs/jfs_logmgr.c6
-rw-r--r--fs/ocfs2/cluster/tcp_internal.h2
2 files changed, 3 insertions, 5 deletions
diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c
index c51af2a..e1b8493 100644
--- a/fs/jfs/jfs_logmgr.c
+++ b/fs/jfs/jfs_logmgr.c
@@ -1010,15 +1010,13 @@ static int lmLogSync(struct jfs_log * log, int hard_sync)
* option 2 - shutdown file systems
* associated with log ?
* option 3 - extend log ?
- */
- /*
* option 4 - second chance
*
* mark log wrapped, and continue.
* when all active transactions are completed,
- * mark log vaild for recovery.
+ * mark log valid for recovery.
* if crashed during invalid state, log state
- * implies invald log, forcing fsck().
+ * implies invalid log, forcing fsck().
*/
/* mark log state log wrap in log superblock */
/* log->state = LOGWRAP; */
diff --git a/fs/ocfs2/cluster/tcp_internal.h b/fs/ocfs2/cluster/tcp_internal.h
index 96fa7eb..15fdbdf 100644
--- a/fs/ocfs2/cluster/tcp_internal.h
+++ b/fs/ocfs2/cluster/tcp_internal.h
@@ -129,7 +129,7 @@ struct o2net_node {
struct o2net_sock_container {
struct kref sc_kref;
- /* the next two are vaild for the life time of the sc */
+ /* the next two are valid for the life time of the sc */
struct socket *sc_sock;
struct o2nm_node *sc_node;
OpenPOWER on IntegriCloud