[PATCH] fs/btrfs/locking.c: Removed some unneeded return statements

2011-11-16 Thread Marcos Paulo de Souza
Signed-off-by: Marcos Paulo de Souza --- fs/btrfs/locking.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/locking.c b/fs/btrfs/locking.c index d77b67c..8abb870 100644 --- a/fs/btrfs/locking.c +++ b/fs/btrfs/locking.c @@ -48,7 +48,6 @@ void

[PATCH] btrfs: block-group: Rework documentation of check_system_chunk function

2019-10-07 Thread Marcos Paulo de Souza
comment by removing the mention of is_allocation argument. Signed-off-by: Marcos Paulo de Souza --- fs/btrfs/block-group.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/btrfs/block-group.c b/fs/btrfs/block-group.c index bf7e3f23bba7..4910921838db 100644 --- a/fs/btrfs/blo

[PATCH] btrfs: ioctl: Try to use btrfs_fs_info instead of *file

2019-10-10 Thread Marcos Paulo de Souza
Some functions are doing some bikeshedding to reach the btrfs_fs_info struct. Change these functions to receive a btrfs_fs_info struct instead of a *file. Signed-off-by: Marcos Paulo de Souza --- The kernel survived btrfs-progs tests with this patch applied. fs/btrfs/ioctl.c | 36

[PATCH 2/2] btrfs-progs: Makefile: Add -Wimplicit-fallthrough

2019-10-21 Thread Marcos Paulo de Souza
From: Marcos Paulo de Souza Avoid introducing new cases of implicit fallthrough by having this flag always set. Signed-off-by: Marcos Paulo de Souza --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 21bf2717..2f04e880 100644 --- a/Makefile +++ b

[PATCH 1/2] btrfs-progs: utils: Replace __attribute__(fallthrough)

2019-10-21 Thread Marcos Paulo de Souza
From: Marcos Paulo de Souza When compiling with clang, this warning is shown: common/utils.c:404:3: warning: declaration does not declare anything [-Wmissing-declarations] __attribute__ ((fallthrough)); This attribute seems to silence the same warning in GCC. Changing this

[PATCH 0/2] btrfs-progs: Setting implicit-fallthrough by default

2019-10-21 Thread Marcos Paulo de Souza
From: Marcos Paulo de Souza While compiling btrfs-progs using clang I found an issue using __attribute__(fallthrough), which does not seems to work in clang. To solve this issue, the code was changed to use /* fallthrough */, which is the same notation adopted by linux kernel. Once these

Re: [PATCH 1/2] btrfs-progs: utils: Replace __attribute__(fallthrough)

2019-10-22 Thread Marcos Paulo de Souza
On Tue, 2019-10-22 at 10:01 +0300, Nikolay Borisov wrote: > > On 22.10.19 г. 9:59 ч., Nikolay Borisov wrote: > > > > > > On 22.10.19 г. 5:02 ч., Marcos Paulo de Souza wrote: > >> From: Marcos Paulo de Souza > >> > >> When compiling with cla

Re: [PATCH 0/1] btrfs-progs: libbtrfsutil: Relicense to LGPLv2.1+

2021-03-18 Thread Marcos Paulo de Souza
with libbtrfsutil. > > Each significant (i.e. non-trivial) commit author has been CC'd to > request their sign-off on this. Please reply to this to acknowledge > whether or not this is acceptable for your code. > > Neal Gompa (1): > btrfs-progs: libbtrfsutil: Relicense t