Re: [PATCH 11/11] btrfs: add zstd compression level support

From: David Sterba
Date: Thu Jan 31 2019 - 13:11:10 EST


On Mon, Jan 28, 2019 at 04:24:37PM -0500, Dennis Zhou wrote:
> static struct list_head *zstd_get_workspace(unsigned int level)
> {
> - struct list_head *ws = btrfs_get_workspace(&wsm, level);
> - struct workspace *workspace = list_entry(ws, struct workspace, list);
> + struct list_head *ws;
> + unsigned long nofs_flag;

nofs_flag should be 'unsigned'