From: Jie Liu <jeff....@oracle.com>

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....@oracle.com>
---
 fs/btrfs/lzo.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/btrfs/lzo.c b/fs/btrfs/lzo.c
index 743b86f..f93151a 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;
 };
 
-- 
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to