Skip to content

Commit

Permalink
simple.c: Fix typo, simplefs_destory_inode() -> simplefs_destroy_inode()
Browse files Browse the repository at this point in the history
  • Loading branch information
dalmemail committed Nov 4, 2024
1 parent c3b69c8 commit 92da439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simple.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ struct dentry *simplefs_lookup(struct inode *parent_inode,
/**
* Simplest
*/
void simplefs_destory_inode(struct inode *inode)
void simplefs_destroy_inode(struct inode *inode)
{
struct simplefs_inode *sfs_inode = SIMPLEFS_INODE(inode);

Expand All @@ -709,7 +709,7 @@ static void simplefs_put_super(struct super_block *sb)
}

static const struct super_operations simplefs_sops = {
.destroy_inode = simplefs_destory_inode,
.destroy_inode = simplefs_destroy_inode,
.put_super = simplefs_put_super,
};

Expand Down

0 comments on commit 92da439

Please sign in to comment.