Print this page
re #13613 rb4516 Tunables needs volatile keyword
@@ -21,10 +21,13 @@
*/
/*
* Copyright 1999 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+/*
+ * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+ */
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
@@ -138,11 +141,11 @@
};
extern struct dqhead dqhead[NDQHASH];
extern struct dquot *dquot, *dquotNDQUOT;
-extern int ndquot;
+extern volatile int ndquot;
extern krwlock_t dq_rwlock; /* quota sub-system init lock */
extern int quotas_initialized; /* quota sub-system init flag */
extern void qtinit();
extern void qtinit2();