|
@@ -161,8 +161,8 @@ struct inodes_stat_t {
|
|
* These aren't really reads or writes, they pass down information about
|
|
* These aren't really reads or writes, they pass down information about
|
|
* parts of device that are now unused by the file system.
|
|
* parts of device that are now unused by the file system.
|
|
*/
|
|
*/
|
|
-#define DISCARD_NOBARRIER (1 << BIO_RW_DISCARD)
|
|
|
|
-#define DISCARD_BARRIER ((1 << BIO_RW_DISCARD) | (1 << BIO_RW_BARRIER))
|
|
|
|
|
|
+#define DISCARD_NOBARRIER (WRITE | (1 << BIO_RW_DISCARD))
|
|
|
|
+#define DISCARD_BARRIER (DISCARD_NOBARRIER | (1 << BIO_RW_BARRIER))
|
|
|
|
|
|
#define SEL_IN 1
|
|
#define SEL_IN 1
|
|
#define SEL_OUT 2
|
|
#define SEL_OUT 2
|