[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <418606603.5467773.1427724960573.JavaMail.zimbra@redhat.com>
Date: Mon, 30 Mar 2015 10:16:00 -0400 (EDT)
From: Bob Peterson <rpeterso@...hat.com>
To: Chengyu Song <csong84@...ech.edu>
Cc: swhiteho@...hat.com, cluster-devel@...hat.com,
linux-kernel@...r.kernel.org, blee@...ech.edu, taesoo@...ech.edu,
changwoo@...ech.edu, sanidhya@...ech.edu
Subject: Re: [Cluster-devel] [PATCH 1/1] gfs2: incorrect check for debugfs
returns
----- Original Message -----
> debugfs_create_dir and debugfs_create_file may return -ENODEV when debugfs
> is not configured, so the return value should be checked against ERROR_VALUE
> as well, otherwise the later dereference of the dentry pointer would crash
> the kernel.
>
> Signed-off-by: Chengyu Song <csong84@...ech.edu>
> ---
> fs/gfs2/glock.c | 47 ++++++++++++++++++++++++++++-------------------
> 1 file changed, 28 insertions(+), 19 deletions(-)
Hi,
I've now added this patch to the for-next branch of the linux-gfs2.git
tree. Thanks.
Regards,
Bob Peterson
Red Hat File Systems
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists