Skip to content

Commit

Permalink
Add missing B_ELASTO_DEV to is_file() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Feb 17, 2015
1 parent df71d8a commit 7ce4057
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stored/dev.h
Expand Up @@ -333,7 +333,8 @@ class DEVICE: public SMARTALLOC {
dev_type == B_GFAPI_DEV ||
dev_type == B_OBJECT_STORE_DEV ||
dev_type == B_RADOS_DEV ||
dev_type == B_CEPHFS_DEV); }
dev_type == B_CEPHFS_DEV ||
dev_type == B_ELASTO_DEV); }
int is_fifo() const { return dev_type == B_FIFO_DEV; }
int is_vtl() const { return dev_type == B_VTL_DEV; }
int is_open() const { return m_fd >= 0; }
Expand Down

0 comments on commit 7ce4057

Please sign in to comment.