aboutsummaryrefslogtreecommitdiff
path: root/src/unstable
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unstable/myriadfs.cpp4
-rw-r--r--src/unstable/myriadfs.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/unstable/myriadfs.cpp b/src/unstable/myriadfs.cpp
index ab9ca74..2eda0be 100644
--- a/src/unstable/myriadfs.cpp
+++ b/src/unstable/myriadfs.cpp
@@ -574,7 +574,7 @@ int32_t Bu::MyriadFs::allocInode( uint16_t uPerms, uint32_t uSpecial )
574 case typeSymLink: 574 case typeSymLink:
575 { 575 {
576 Bu::MyriadStream ms = mStore.create( 576 Bu::MyriadStream ms = mStore.create(
577 Bu::Myriad::Create 577 Bu::Myriad::Read
578 ); 578 );
579 rs.uStreamIndex = ms.getId(); 579 rs.uStreamIndex = ms.getId();
580 } 580 }
@@ -583,7 +583,7 @@ int32_t Bu::MyriadFs::allocInode( uint16_t uPerms, uint32_t uSpecial )
583 case typeDir: 583 case typeDir:
584 { 584 {
585 Bu::MyriadStream ms = mStore.create( 585 Bu::MyriadStream ms = mStore.create(
586 Bu::Myriad::Create 586 Bu::Myriad::Read
587 ); 587 );
588 rs.uStreamIndex = ms.getId(); 588 rs.uStreamIndex = ms.getId();
589 } 589 }
diff --git a/src/unstable/myriadfs.h b/src/unstable/myriadfs.h
index ff14292..eccac65 100644
--- a/src/unstable/myriadfs.h
+++ b/src/unstable/myriadfs.h
@@ -108,7 +108,7 @@ namespace Bu
108 Truncate = 0x08, ///< Truncate file if it does exist 108 Truncate = 0x08, ///< Truncate file if it does exist
109 Append = 0x10, ///< Always append on every write 109 Append = 0x10, ///< Always append on every write
110 NonBlock = 0x20, ///< Open file in non-blocking mode 110 NonBlock = 0x20, ///< Open file in non-blocking mode
111 Exclusive = 0x44, ///< Create file, if it exists then fail 111 Exclusive = 0x40, ///< Create file, if it exists then fail
112 112
113 // Helpful mixes 113 // Helpful mixes
114 ReadWrite = 0x03, ///< Open for reading and writing 114 ReadWrite = 0x03, ///< Open for reading and writing