diff options
author | Yan, Zheng <zyan@redhat.com> | 2015-03-04 16:05:04 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-04-20 17:30:22 +0300 |
commit | e2c3de046c5a1f3525772b4cacc7731cb626ab61 (patch) | |
tree | dc8b34b50527d97a49f26610c25a150e007fcfdb /fs/ceph/super.h | |
parent | 6e6f09231a134e7523514ed504380f5caafc9334 (diff) | |
download | op-kernel-dev-e2c3de046c5a1f3525772b4cacc7731cb626ab61.zip op-kernel-dev-e2c3de046c5a1f3525772b4cacc7731cb626ab61.tar.gz |
ceph: fix dcache/nocache mount option
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r-- | fs/ceph/super.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index 04c8124..f8ea7eb 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -36,7 +36,8 @@ #define CEPH_MOUNT_OPT_DCACHE (1<<9) /* use dcache for readdir etc */ #define CEPH_MOUNT_OPT_FSCACHE (1<<10) /* use fscache */ -#define CEPH_MOUNT_OPT_DEFAULT (CEPH_MOUNT_OPT_RBYTES) +#define CEPH_MOUNT_OPT_DEFAULT (CEPH_MOUNT_OPT_RBYTES | \ + CEPH_MOUNT_OPT_DCACHE) #define ceph_set_mount_opt(fsc, opt) \ (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt; |