[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180612063111.GC23073@kroah.com>
Date: Tue, 12 Jun 2018 08:31:11 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Zhouyang Jia <jiazhouyang09@...il.com>
Cc: Oleg Drokin <oleg.drokin@...el.com>,
Andreas Dilger <andreas.dilger@...el.com>,
James Simmons <jsimmons@...radead.org>,
NeilBrown <neilb@...e.com>,
Haneen Mohammed <hamohammed.sa@...il.com>,
Al Viro <viro@...iv.linux.org.uk>,
"Gustavo A. R. Silva" <garsilva@...eddedor.com>,
lustre-devel@...ts.lustre.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: lustre: add error handling for try_module_get
On Tue, Jun 12, 2018 at 12:49:26PM +0800, Zhouyang Jia wrote:
> When try_module_get fails, the lack of error-handling code may
> cause unexpected results.
>
> This patch adds error-handling code after calling try_module_get.
>
> Signed-off-by: Zhouyang Jia <jiazhouyang09@...il.com>
> ---
> drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c | 5 ++++-
This patch does not apply to Linus's tree. Always be sure to work
against linux-next to catch things like this.
thanks,
greg k-h
Powered by blists - more mailing lists