[PATCH] btrfs-progs: fix unterminated long opts for send

2020-12-25 Thread Adam Borowski
Any use of a long option would crash. Signed-off-by: Adam Borowski --- cmds/send.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmds/send.c b/cmds/send.c index b8e3ba12..3bfc69f5 100644 --- a/cmds/send.c +++ b/cmds/send.c @@ -496,7 +496,8 @@ static int cmd_send(const str

[PATCH] btrfs-progs: a bunch of typo fixes

2020-12-25 Thread Adam Borowski
Signed-off-by: Adam Borowski --- CHANGES | 2 +- Documentation/btrfs-balance.asciidoc | 2 +- Documentation/btrfs-man5.asciidoc| 4 ++-- INSTALL | 2 +- README.md| 2 +- cmds/filesystem-usage.c

Re: [PATCH 1/1] fs: btrfs: simplify close_ctree_fs_info()

2020-12-25 Thread Qu Wenruo
On 2020/12/25 下午8:45, Heinrich Schuchardt wrote: At the beginning of close_ctree_fs_info() the value 0 is assigned to err and never changed before testing it. Let's get rid of the superfluous variable. Fixes: f06bfcf54d0e ("fs: btrfs: Crossport open_ctree_fs_info() from btrfs-progs") This

[PATCH 1/1] fs: btrfs: simplify close_ctree_fs_info()

2020-12-25 Thread Heinrich Schuchardt
At the beginning of close_ctree_fs_info() the value 0 is assigned to err and never changed before testing it. Let's get rid of the superfluous variable. Fixes: f06bfcf54d0e ("fs: btrfs: Crossport open_ctree_fs_info() from btrfs-progs") Signed-off-by: Heinrich Schuchardt --- fs/btrfs/disk-io.c