summaryrefslogtreecommitdiff
path: root/fs/btrfs
diff options
context:
space:
mode:
authorJie Liu <jeff.liu@oracle.com>2013-06-06 17:38:50 +0400
committerJosef Bacik <jbacik@fusionio.com>2013-07-01 16:52:26 +0400
commit3fb4037599a9f14b6c58e2a813aeb03bfa03dd8f (patch)
tree97c8f18e79309c146aa72bd73cc9b17f3b78543a /fs/btrfs
parent5bc7247ac47cf100309e4d7e24214889c46a1636 (diff)
downloadlinux-3fb4037599a9f14b6c58e2a813aeb03bfa03dd8f.tar.xz
btrfs: fix the code comments for LZO compression workspace
Fix the code comments for lzo compression workspace. The buf item is used to store the decompressed data and cbuf is used to store the compressed data. Signed-off-by: Jie Liu <jeff.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/lzo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/lzo.c b/fs/btrfs/lzo.c
index 743b86fa4fcb..f93151a98886 100644
--- a/fs/btrfs/lzo.c
+++ b/fs/btrfs/lzo.c
@@ -31,8 +31,8 @@
struct workspace {
void *mem;
- void *buf; /* where compressed data goes */
- void *cbuf; /* where decompressed data goes */
+ void *buf; /* where decompressed data goes */
+ void *cbuf; /* where compressed data goes */
struct list_head list;
};