瀏覽代碼

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>
Jie Liu 12 年之前
父節點
當前提交
3fb4037599
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fs/btrfs/lzo.c

+ 2 - 2
fs/btrfs/lzo.c

@@ -31,8 +31,8 @@
 
 
 struct workspace {
 struct workspace {
 	void *mem;
 	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;
 	struct list_head list;
 };
 };