[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TAKE - kdb #ifdef fix, DelallocPage() macro fix




kdb/modules/kdbm_pg.c had "#if defined(CONFIG_XFS)," but this
should be CONFIG_XFS_FS, CONFIG_XFS is never defined.

Also, the DelallocPage() macro was then unhappy with
the way it was being called from kdb - DelallocPage(&page) -
so toss a couple extra parentheses into the macro definition
to make sure things get evaluated in the right order.

Thanks to Shawn Starr for finding the #ifdef problem.

Date:  Sun Feb 17 10:00:11 PST 2002
Workarea:  stout.americas.sgi.com:/localhome/eric/2.4.x-xfs/workarea-reallyclean

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs


Modid:  2.4.x-xfs:slinx:111980a
linux/include/linux/mm.h - 1.78
	- Add extra ()'s in DelallocPage() macro for precedence problems
	  if we do something like DelallocPage(&page)

linux/kdb/modules/kdbm_pg.c - 1.49
	- Fix #ifdef for whether XFS is present - CONFIG_XFS_FS not CONFIG_XFS