Re: [PATCH 3/3] btrfs-progs: fi usage: cleanup unneccessary permission error check

2017-11-30 Thread Qu Wenruo
On 2017年11月30日 15:53, Misono, Tomohiro wrote: > Since BTRFS_IOC_FS_INFO does not require root privilege, there is no > need to check EPERM error. > > Signed-off-by: Tomohiro Misono Reviewed-by: Qu Wenruo Thanks, Qu > --- > cmds-fi-usage.c | 7 --- > 1 file changed, 7 deletions(-) > > d

[PATCH 3/3] btrfs-progs: fi usage: cleanup unneccessary permission error check

2017-11-29 Thread Misono, Tomohiro
Since BTRFS_IOC_FS_INFO does not require root privilege, there is no need to check EPERM error. Signed-off-by: Tomohiro Misono --- cmds-fi-usage.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/cmds-fi-usage.c b/cmds-fi-usage.c index 7bbc9896..b0721560 100644 --- a/cmds-fi-usage.c +++