diff options
author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2009-01-09 15:42:04 -0600 |
---|---|---|
committer | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2009-01-09 15:42:04 -0600 |
commit | fec1878fe952b994125a3be7c94b1322db586f3b (patch) | |
tree | ef13833a74c4e1bcde57a4c4a6a2256fa9e84ccd /fs/jfs/jfs_types.h | |
parent | da9c138e9e1cc08aa3a4e8c09411a5d08f866445 (diff) | |
download | kernel_samsung_espresso10-fec1878fe952b994125a3be7c94b1322db586f3b.zip kernel_samsung_espresso10-fec1878fe952b994125a3be7c94b1322db586f3b.tar.gz kernel_samsung_espresso10-fec1878fe952b994125a3be7c94b1322db586f3b.tar.bz2 |
jfs: remove xtLookupList()
xtLookupList() was a more generalized version of xtLookup() with a
nastier interface. Its only caller, extHint(), is actually better
suited to using xtLookup() than xtLookupList(). This also lets us
remove the definition of lxd_t, an obnoxious packed structure that was
only used in-memory.
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_types.h')
-rw-r--r-- | fs/jfs/jfs_types.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/fs/jfs/jfs_types.h b/fs/jfs/jfs_types.h index 649f981..43ea371 100644 --- a/fs/jfs/jfs_types.h +++ b/fs/jfs/jfs_types.h @@ -58,35 +58,6 @@ struct timestruc_t { #define ONES 0xffffffffu /* all bit on */ /* - * logical xd (lxd) - */ -typedef struct { - unsigned len:24; - unsigned off1:8; - u32 off2; -} lxd_t; - -/* lxd_t field construction */ -#define LXDlength(lxd, length32) ( (lxd)->len = length32 ) -#define LXDoffset(lxd, offset64)\ -{\ - (lxd)->off1 = ((s64)offset64) >> 32;\ - (lxd)->off2 = (offset64) & 0xffffffff;\ -} - -/* lxd_t field extraction */ -#define lengthLXD(lxd) ( (lxd)->len ) -#define offsetLXD(lxd)\ - ( ((s64)((lxd)->off1)) << 32 | (lxd)->off2 ) - -/* lxd list */ -struct lxdlist { - s16 maxnlxd; - s16 nlxd; - lxd_t *lxd; -}; - -/* * physical xd (pxd) */ typedef struct { |