Browse Source

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 năm trước cách đây
mục cha
commit
3fb4037599
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      fs/btrfs/lzo.c

+ 2 - 2
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;
 };