Skip to content

Commit

Permalink
Documentation/filesystems/porting fixes
Browse files Browse the repository at this point in the history
typo fix and whitespace cleanup

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
  • Loading branch information
Oliver Pinter authored and Adrian Bunk committed Feb 3, 2008
1 parent 53379e5 commit 3eb43f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Documentation/filesystems/porting
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Changes since 2.5.0:

---
---
[recommended]

New helpers: sb_bread(), sb_getblk(), sb_find_get_block(), set_bh(),
Expand All @@ -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().
Expand All @@ -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).

Expand Down

0 comments on commit 3eb43f6

Please sign in to comment.