advfs: Don't obscure things, statusT -> int
advfs: Don't use NULL as an alias of 0 in integer type
advfs: Drop mutex_lock and mutex_unlock macros, go for native mutex_enter and mutex_exit