Documentation/filesystems/porting fixes
typo fix and whitespace cleanup Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
This commit is contained in:
committed by
Adrian Bunk
parent
53379e57a7
commit
3eb43f689c
@@ -1,6 +1,6 @@
|
|||||||
Changes since 2.5.0:
|
Changes since 2.5.0:
|
||||||
|
|
||||||
---
|
---
|
||||||
[recommended]
|
[recommended]
|
||||||
|
|
||||||
New helpers: sb_bread(), sb_getblk(), sb_find_get_block(), set_bh(),
|
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())
|
(sb_find_get_block() replaces 2.4's get_hash_table())
|
||||||
|
|
||||||
---
|
---
|
||||||
[recommended]
|
[recommended]
|
||||||
|
|
||||||
New methods: ->alloc_inode() and ->destroy_inode().
|
New methods: ->alloc_inode() and ->destroy_inode().
|
||||||
@@ -28,7 +28,7 @@ Declare
|
|||||||
|
|
||||||
Use FOO_I(inode) instead of &inode->u.foo_inode_i;
|
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_inode_info and return the address of ->vfs_inode, the latter should free
|
||||||
FOO_I(inode) (see in-tree filesystems for examples).
|
FOO_I(inode) (see in-tree filesystems for examples).
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user