]> git.baikalelectronics.ru Git - kernel.git/commit
[XFS] Factor xfs_itobp() and xfs_inotobp().
authorDavid Chinner <dgc@sgi.com>
Thu, 6 Mar 2008 02:43:34 +0000 (13:43 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:37:19 +0000 (11:37 +1000)
commit9e2f5e02807f3d7d59c70f8768a40f25a195358c
treea508c4574d61a9d1713e6674a5b6c6817616120b
parent2e78a3b59ed501646a21f653684d96aa2dd77ce3
[XFS] Factor xfs_itobp() and xfs_inotobp().

The only difference between the functions is one passes an inode for the
lookup, the other passes an inode number. However, they don't do the same
validity checking or set all the same state on the buffer that is returned
yet they should.

Factor the functions into a common implementation.

SGI-PV: 970925
SGI-Modid: xfs-linux-melb:xfs-kern:30500a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_inode.c