]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
btrfs: fix the code comments for LZO compression workspace
authorJie Liu <jeff.liu@oracle.com>
Thu, 6 Jun 2013 13:38:50 +0000 (13:38 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 1 Jul 2013 12:52:26 +0000 (08:52 -0400)
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>
fs/btrfs/lzo.c

index 743b86fa4fcb326adea754c65e39f88fb114a518..f93151a98886d460bdf2c357c00a8c7613f2d08e 100644 (file)
@@ -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;
 };