From aa591b4e2e0f449bd72ff82c6a15d741f8ef56d8 Mon Sep 17 00:00:00 2001 From: Oliver Pinter Date: Sun, 3 Feb 2008 17:59:17 +0200 Subject: [PATCH] --- yaml --- r: 82805 b: refs/heads/master c: 3eb43f689cef73c7c62bcaf90d7dc75a6182d2bd h: refs/heads/master i: 82803: 0764965631f5ade0e023932571ed2385e37da7a3 v: v3 --- [refs] | 2 +- trunk/Documentation/filesystems/porting | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index e18c945b34d4..38fe90ae5f3c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 53379e57a7705e2946c8d77d09a57a169097a6fe +refs/heads/master: 3eb43f689cef73c7c62bcaf90d7dc75a6182d2bd diff --git a/trunk/Documentation/filesystems/porting b/trunk/Documentation/filesystems/porting index dac45c92d872..0f33c77bc14b 100644 --- a/trunk/Documentation/filesystems/porting +++ b/trunk/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).