[PATCH 2/7] ubifs: move checks and preparation into setflags()

Richard Weinberger richard.weinberger at gmail.com
Sun Jan 19 11:56:42 PST 2020


On Wed, Nov 6, 2019 at 10:17 AM Sascha Hauer <s.hauer at pengutronix.de> wrote:
>
> setflags() can be reused for upcoming FS_IOC_FS[SG]ETXATTR ioctl support.
> In preparation for that move the checks and preparation into that
> function so we can reuse them as well.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
>  fs/ubifs/ioctl.c | 46 +++++++++++++++++++++++++++-------------------
>  1 file changed, 27 insertions(+), 19 deletions(-)

Acked-by: Richard Weinberger <richard at nod.at>

-- 
Thanks,
//richard



More information about the linux-mtd mailing list