summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-cache.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-08-02 20:31:05 +0200
committerMartin Brandenburg <martin@omnibond.com>2016-08-08 21:12:27 +0200
commit6eaff8c7775abcdff5ba7c9f0305f4ccdca57ba5 (patch)
treeed991fde2ec2a7adbd2a86a77219ef5958179923 /fs/orangefs/orangefs-cache.c
parentMerge tag 'for-linus-v4.8' of git://github.com/martinbrandenburg/linux (diff)
downloadlinux-6eaff8c7775abcdff5ba7c9f0305f4ccdca57ba5.tar.xz
linux-6eaff8c7775abcdff5ba7c9f0305f4ccdca57ba5.zip
orangefs: rename remaining bits of mmap readahead cache
This has been dormant code for many years. Parts of it were removed from the OrangeFS kernel code when it went into mainline. These bits were missed. Now the readahead cache has been resurrected in the OrangeFS userspace portions. It was renamed there, since it doesn't really have anything to do with mmap specifically, so it will be renamed here. Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-cache.c')
-rw-r--r--fs/orangefs/orangefs-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/orangefs/orangefs-cache.c b/fs/orangefs/orangefs-cache.c
index b6edbe9fb309..eb0b6e00b519 100644
--- a/fs/orangefs/orangefs-cache.c
+++ b/fs/orangefs/orangefs-cache.c
@@ -73,8 +73,8 @@ char *get_opname_string(struct orangefs_kernel_op_s *new_op)
return "OP_STATFS";
else if (type == ORANGEFS_VFS_OP_TRUNCATE)
return "OP_TRUNCATE";
- else if (type == ORANGEFS_VFS_OP_MMAP_RA_FLUSH)
- return "OP_MMAP_RA_FLUSH";
+ else if (type == ORANGEFS_VFS_OP_RA_FLUSH)
+ return "OP_RA_FLUSH";
else if (type == ORANGEFS_VFS_OP_FS_MOUNT)
return "OP_FS_MOUNT";
else if (type == ORANGEFS_VFS_OP_FS_UMOUNT)