diff mbox series

[v3,2/6] Revert "ext4: add pre-content fsnotify hook for DAX faults"

Message ID 20250312073852.2123409-3-amir73il@gmail.com (mailing list archive)
State New
Headers show
Series Fix for potential deadlock in pre-content event | expand

Commit Message

Amir Goldstein March 12, 2025, 7:38 a.m. UTC
This reverts commit bb480760ffc7018e21ee6f60241c2b99ff26ee0e.
---
 fs/ext4/file.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/fs/ext4/file.c b/fs/ext4/file.c
index a5205149adba3..3bd96c3d4cd0c 100644
--- a/fs/ext4/file.c
+++ b/fs/ext4/file.c
@@ -756,9 +756,6 @@  static vm_fault_t ext4_dax_huge_fault(struct vm_fault *vmf, unsigned int order)
 			return VM_FAULT_SIGBUS;
 		}
 	} else {
-		result = filemap_fsnotify_fault(vmf);
-		if (unlikely(result))
-			return result;
 		filemap_invalidate_lock_shared(mapping);
 	}
 	result = dax_iomap_fault(vmf, order, &pfn, &error, &ext4_iomap_ops);