From: Oliver Pinter Date: Sun, 3 Feb 2008 15:59:17 +0000 (+0200) Subject: Documentation/filesystems/porting fixes X-Git-Tag: v2.6.25-rc1~1059^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3eb43f689cef73c7c62bcaf90d7dc75a6182d2bd;p=linux-2.6-omap-h63xx.git Documentation/filesystems/porting fixes typo fix and whitespace cleanup Signed-off-by: Oliver Pinter Signed-off-by: Adrian Bunk --- diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting index dac45c92d87..0f33c77bc14 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).