On Wed, Nov 6, 2019 at 10:17 AM Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx> > --- > fs/ubifs/ioctl.c | 46 +++++++++++++++++++++++++++------------------- > 1 file changed, 27 insertions(+), 19 deletions(-) Acked-by: Richard Weinberger <richard@xxxxxx> -- Thanks, //richard