Fixed up commenting around our advertised flags.

This commit is contained in:
Patrick J Cherry
2018-02-02 20:50:48 +00:00
parent 051576df6d
commit 3410ccd4c5

View File

@@ -307,9 +307,11 @@ void client_write_init( struct client * client, uint64_t size )
memcpy( init.passwd, INIT_PASSWD, sizeof( init.passwd ) ); memcpy( init.passwd, INIT_PASSWD, sizeof( init.passwd ) );
init.magic = INIT_MAGIC; init.magic = INIT_MAGIC;
init.size = size; init.size = size;
// TODO actually implement these flags! /* As more features are implemented, this is the place to advertise
* them.
*/
init.flags = FLAG_HAS_FLAGS | FLAG_SEND_FLUSH | FLAG_SEND_FUA; init.flags = FLAG_HAS_FLAGS | FLAG_SEND_FLUSH | FLAG_SEND_FUA;
// memset( init.reserved, 0, 124 ); memset( init.reserved, 0, 124 );
nbd_h2r_init( &init, &init_raw ); nbd_h2r_init( &init, &init_raw );