Introduce compile-time debugging support to Unionfs
authorErez Zadok <ezk@bigvaio.(none)>
Fri, 18 May 2007 05:28:00 +0000 (01:28 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Wed, 30 Mar 2011 23:20:33 +0000 (19:20 -0400)
commit5cdebd266b38d5618ae4bdf1f9dd6643b715a903
treee4c99a7fd07f7571fbbe69d1b0a390b684074576
parentb58607a3a7435d2504b86b8413d9a045cbcfbccc
Introduce compile-time debugging support to Unionfs

Similar to other file systems, to turn on debugging, one is asked to change
the Makefile slightly.  The vast majority of the debugging utility functions
are in debug.c.  They are useful for developers and users to report to
developers.  The main code has some very useful hooks left behind that are
non-intrusive and cleaner (i.e., no "ifdef DEBUG" clutter).
fs/unionfs/Makefile
fs/unionfs/debug.c [new file with mode: 0644]
fs/unionfs/union.h