[Linux-cachefs] [PATCH] CacheFiles: Fix error handling in cachefiles_determine_cache_security ()
Romain DEGEZ
romain.degez at smartjog.com
Wed May 12 15:32:32 UTC 2010
On Wednesday 12 May 2010 16:34:03 David Howells wrote:
Hi David,
> cachefiles_determine_cache_security() is expected to return with a security
> override in place. However, if set_create_files_as() fails, we fail to do
> this. In this case, we should just reinstate the security override that
> was set by the caller.
>
> Furthermore, if set_create_files_as() fails, we should dispose of the new
> credentials we were in the process of creating.
>
> Signed-off-by: David Howells <dhowells at redhat.com>
[...]
By reading the patch comment I'm not sure so I'm asking :
Is this patch something I should be applying right now to solve/troubleshot my
current problem ?
Regards,
--
RD
More information about the Linux-cachefs
mailing list