fuse: add nocreds to fuse_args
authorMiklos Szeredi <mszeredi@redhat.com>
Tue, 10 Sep 2019 13:04:08 +0000 (15:04 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 10 Sep 2019 14:29:49 +0000 (16:29 +0200)
commite413754b267e0e47ed38b3eacfa7178f21aca883
treea8314920c39240b2be38d366e1d8c32b9a037f22
parent3545fe21128262d425dd476b6d31f9a9e4d1b7a7
fuse: add nocreds to fuse_args

In some cases it makes no sense to set pid/uid/gid fields in the request
header.  Allow fuse_simple_background() to omit these.  This is only
required in the "force" case, so for now just WARN if set otherwise.

Fold fuse_get_req_nofail_nopages() into its only caller.  Comment is
obsolete anyway.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dev.c
fs/fuse/fuse_i.h