lkml.org 
[lkml]   [2007]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[06/06] [typo fix] Documentation/filesystems/porting
-- 
Thanks,
Oliver
commit 93d021f12d5370d06b1eee0659d83d1e7095df6c
Author: Oliver Pinter <oliver.pntr@gmail.com>
Commit: Oliver Pinter <oliver.pntr@gmail.com>

[typo fix] Documentation/filesystems/porting

typo fix in Documentation/filesystems/porting
foo-destory -> foo-destroy && whitespace cleanup

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>

diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting
index dac45c9..0f33c77 100644
--- a/Documentation/filesystems/porting
+++ b/Documentation/filesystems/porting
@@ -1,6 +1,6 @@
Changes since 2.5.0:

----
+---
[recommended]

New helpers: sb_bread(), sb_getblk(), sb_find_get_block(), set_bh(),
@@ -10,7 +10,7 @@ Use them.

(sb_find_get_block() replaces 2.4's get_hash_table())

----
+---
[recommended]

New methods: ->alloc_inode() and ->destroy_inode().
@@ -28,7 +28,7 @@ Declare

Use FOO_I(inode) instead of &inode->u.foo_inode_i;

-Add foo_alloc_inode() and foo_destory_inode() - the former should allocate
+Add foo_alloc_inode() and foo_destroy_inode() - the former should allocate
foo_inode_info and return the address of ->vfs_inode, the latter should free
FOO_I(inode) (see in-tree filesystems for examples).
\
 
 \ /
  Last update: 2007-12-30 14:23    [W:0.028 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site