Skip to content

Commit

Permalink
docs: fix simple typo, insted -> instead (#12)
Browse files Browse the repository at this point in the history
There is a small typo in simple.c.

Should read `instead` rather than `insted`.
  • Loading branch information
timgates42 authored Dec 13, 2020
1 parent 451cb1b commit 60ac9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ static int simplefs_create_fs_object(struct inode *dir, struct dentry *dentry,
}

if (unlikely(count >= SIMPLEFS_MAX_FILESYSTEM_OBJECTS_SUPPORTED)) {
/* The above condition can be just == insted of the >= */
/* The above condition can be just == instead of the >= */
printk(KERN_ERR
"Maximum number of objects supported by simplefs is already reached");
mutex_unlock(&simplefs_directory_children_update_lock);
Expand Down

0 comments on commit 60ac9bf

Please sign in to comment.