btrfs: fix some warnings

This commit is contained in:
Adrien Destugues
2019-10-08 20:37:10 +02:00
parent 4337c7582c
commit 4ffbc73faf
3 changed files with 5 additions and 6 deletions
@@ -9,6 +9,8 @@
#include "Volume.h"
#include "BTree.h"
#include <DebugSupport.h>
//#define TRACE_BTRFS
#ifdef TRACE_BTRFS
@@ -17,8 +19,6 @@
# define TRACE(x...) ;
#endif
#define ERROR(x...) dprintf("\33[34mbtrfs:\33[0m " x)
struct CachedExtent : AVLTreeNode {
uint64 offset;
@@ -99,9 +99,9 @@ private:
};
/*!The Vnode class provides a convenience layer upon get_vnode(), so that
/* you don't have to call put_vnode() anymore, which may make code more
/* readable in some cases
*/
* you don't have to call put_vnode() anymore, which may make code more
* readable in some cases
*/
class Vnode {
public:
Vnode(Volume* volume, ino_t id)
@@ -28,7 +28,6 @@
#else
# define TRACE(x...) ;
#endif
# define ERROR(x...) dprintf("\33[34mbtrfs:\33[0m " x)
class DeviceOpener {