summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-cache.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-08-02 14:31:05 -0400
committerMartin Brandenburg <martin@omnibond.com>2016-08-08 15:12:27 -0400
commit6eaff8c7775abcdff5ba7c9f0305f4ccdca57ba5 (patch)
treeed991fde2ec2a7adbd2a86a77219ef5958179923 /fs/orangefs/orangefs-cache.c
parent8cbdd85bda499d028b8f128191f392d701e8e41d (diff)
downloadop-kernel-dev-6eaff8c7775abcdff5ba7c9f0305f4ccdca57ba5.zip
op-kernel-dev-6eaff8c7775abcdff5ba7c9f0305f4ccdca57ba5.tar.gz
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 b6edbe9..eb0b6e0 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)
OpenPOWER on IntegriCloud