linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Boaz Harrosh <bharrosh@panasas.com>
To: Idan Kedar <idank@tonian.com>
Cc: <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH 1/2] pnfs-obj: disable unloading the module when mounted
Date: Fri, 8 Jun 2012 00:09:01 +0300	[thread overview]
Message-ID: <4FD1186D.9060503@panasas.com> (raw)
In-Reply-To: <1339095991-26753-2-git-send-email-idank@tonian.com>

On 06/07/2012 10:06 PM, Idan Kedar wrote:

> or the kernel will oops.
> 


Perfect Thanks

> Signed-off-by: Idan Kedar <idank@tonian.com>
> ---
>  fs/nfs/objlayout/objio_osd.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/fs/nfs/objlayout/objio_osd.c b/fs/nfs/objlayout/objio_osd.c
> index 55d0128..b161f97 100644
> --- a/fs/nfs/objlayout/objio_osd.c
> +++ b/fs/nfs/objlayout/objio_osd.c
> @@ -551,6 +551,7 @@ static const struct nfs_pageio_ops objio_pg_write_ops = {
>  static struct pnfs_layoutdriver_type objlayout_type = {
>  	.id = LAYOUT_OSD2_OBJECTS,
>  	.name = "LAYOUT_OSD2_OBJECTS",
> +	.owner = THIS_MODULE,
>  	.flags                   = PNFS_LAYOUTRET_ON_SETATTR |
>  				   PNFS_LAYOUTRET_ON_ERROR,
>  



  reply	other threads:[~2012-06-07 21:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-07 19:06 [PATCH 0/2] pNFS: disable unloading a layout driver when mounted Idan Kedar
2012-06-07 19:06 ` [PATCH 1/2] pnfs-obj: disable unloading the module " Idan Kedar
2012-06-07 21:09   ` Boaz Harrosh [this message]
2012-06-07 19:06 ` [PATCH 2/2] pnfsblock: " Idan Kedar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FD1186D.9060503@panasas.com \
    --to=bharrosh@panasas.com \
    --cc=idank@tonian.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).