diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ceph/ceph_fs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/ceph/ceph_fs.h b/include/linux/ceph/ceph_fs.h index 1787e4a8e251..ad078ebe25d6 100644 --- a/include/linux/ceph/ceph_fs.h +++ b/include/linux/ceph/ceph_fs.h | |||
| @@ -367,6 +367,18 @@ extern const char *ceph_mds_op_name(int op); | |||
| 367 | #define CEPH_READDIR_HASH_ORDER (1<<9) | 367 | #define CEPH_READDIR_HASH_ORDER (1<<9) |
| 368 | #define CEPH_READDIR_OFFSET_HASH (1<<10) | 368 | #define CEPH_READDIR_OFFSET_HASH (1<<10) |
| 369 | 369 | ||
| 370 | /* | ||
| 371 | * open request flags | ||
| 372 | */ | ||
| 373 | #define CEPH_O_RDONLY 00000000 | ||
| 374 | #define CEPH_O_WRONLY 00000001 | ||
| 375 | #define CEPH_O_RDWR 00000002 | ||
| 376 | #define CEPH_O_CREAT 00000100 | ||
| 377 | #define CEPH_O_EXCL 00000200 | ||
| 378 | #define CEPH_O_TRUNC 00001000 | ||
| 379 | #define CEPH_O_DIRECTORY 00200000 | ||
| 380 | #define CEPH_O_NOFOLLOW 00400000 | ||
| 381 | |||
| 370 | union ceph_mds_request_args { | 382 | union ceph_mds_request_args { |
| 371 | struct { | 383 | struct { |
| 372 | __le32 mask; /* CEPH_CAP_* */ | 384 | __le32 mask; /* CEPH_CAP_* */ |
