mirror of
https://github.com/samba-team/samba.git
synced 2025-12-11 08:23:49 +03:00
r14668: Set the FILE_STATUS_OFFLINE bit by observing the events a DMAPI-based
HSM is interested in. Tested on both IRIX and SLES9.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
203b4911c1
commit
514a767c57
@@ -76,6 +76,10 @@
|
||||
(DEBUG(0,("PANIC: assert failed at %s(%d)\n", __FILE__, __LINE__))))
|
||||
#endif
|
||||
|
||||
#define SMB_WARN(condition, message) \
|
||||
((condition) ? (void)0 : \
|
||||
DEBUG(0, ("WARNING: %s: %s\n", #condition, message)))
|
||||
|
||||
#define SMB_ASSERT_ARRAY(a,n) SMB_ASSERT((sizeof(a)/sizeof((a)[0])) >= (n))
|
||||
|
||||
/* these are useful macros for checking validity of handles */
|
||||
|
||||
Reference in New Issue
Block a user