summaryrefslogtreecommitdiff
path: root/fs/xfs/linux-2.6/xfs_vnode.h
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2008-03-06 13:43:34 +1100
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-18 11:37:19 +1000
commit4ae29b4321b99b711bcfde5527c4fbf249eac60f (patch)
treea508c4574d61a9d1713e6674a5b6c6817616120b /fs/xfs/linux-2.6/xfs_vnode.h
parente9a56b7cdaf6129892fd7c8d950b71a1a4304bb0 (diff)
downloadlwn-4ae29b4321b99b711bcfde5527c4fbf249eac60f.tar.gz
lwn-4ae29b4321b99b711bcfde5527c4fbf249eac60f.zip
[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>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vnode.h')
0 files changed, 0 insertions, 0 deletions