diff mbox

[6/6] pnfs/blocklayout: ask for NOTIFY_DEVICEID callbacks

Message ID 1409719119-2110-7-git-send-email-hch@lst.de (mailing list archive)
State New, archived
Headers show

Commit Message

Christoph Hellwig Sept. 3, 2014, 4:38 a.m. UTC
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 fs/nfs/blocklayout/blocklayout.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/fs/nfs/blocklayout/blocklayout.c b/fs/nfs/blocklayout/blocklayout.c
index e92591c..30d6120 100644
--- a/fs/nfs/blocklayout/blocklayout.c
+++ b/fs/nfs/blocklayout/blocklayout.c
@@ -875,6 +875,8 @@  static struct pnfs_layoutdriver_type blocklayout_type = {
 	.owner				= THIS_MODULE,
 	.flags				= PNFS_LAYOUTRET_ON_SETATTR |
 					  PNFS_READ_WHOLE_PAGE,
+	.notify_types			= NOTIFY_DEVICEID4_CHANGE |
+					  NOTIFY_DEVICEID4_DELETE;
 	.read_pagelist			= bl_read_pagelist,
 	.write_pagelist			= bl_write_pagelist,
 	.alloc_layout_hdr		= bl_alloc_layout_hdr,