linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Idan Kedar <idank@tonian.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH 2/2] pnfsblock: disable unloading the module when mounted
Date: Thu,  7 Jun 2012 22:06:31 +0300	[thread overview]
Message-ID: <1339095991-26753-3-git-send-email-idank@tonian.com> (raw)
In-Reply-To: <1339095991-26753-1-git-send-email-idank@tonian.com>

Signed-off-by: Idan Kedar <idank@tonian.com>
---
 fs/nfs/blocklayout/blocklayout.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/blocklayout/blocklayout.c b/fs/nfs/blocklayout/blocklayout.c
index 48cfac3..c0a1464 100644
--- a/fs/nfs/blocklayout/blocklayout.c
+++ b/fs/nfs/blocklayout/blocklayout.c
@@ -1005,6 +1005,7 @@ static const struct nfs_pageio_ops bl_pg_write_ops = {
 static struct pnfs_layoutdriver_type blocklayout_type = {
 	.id				= LAYOUT_BLOCK_VOLUME,
 	.name				= "LAYOUT_BLOCK_VOLUME",
+	.owner				= THIS_MODULE,
 	.read_pagelist			= bl_read_pagelist,
 	.write_pagelist			= bl_write_pagelist,
 	.alloc_layout_hdr		= bl_alloc_layout_hdr,
-- 
1.7.6.5


      parent reply	other threads:[~2012-06-07 19:06 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
2012-06-07 19:06 ` Idan Kedar [this message]

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=1339095991-26753-3-git-send-email-idank@tonian.com \
    --to=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).