Skip to contentSkip to conversation

fanotify-use-fanotify-event-structure-for-permission-response-processing-fix.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Apr 3, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: [folded-merged] fanotify-use-fanotify-event-structure-for-permission-response-processing-fix.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 03 Apr 2014 14:02:12 -0700

The patch titled
Subject: fanotify-use-fanotify-event-structure-for-permission-response-processing-fix
has been removed from the -mm tree. Its filename was
fanotify-use-fanotify-event-structure-for-permission-response-processing-fix.patch

This patch was dropped because it was folded into fanotify-use-fanotify-event-structure-for-permission-response-processing.patch

------------------------------------------------------
From: Andrew Morton <[email protected]>
Subject: fanotify-use-fanotify-event-structure-for-permission-response-processing-fix

fix build

---

 fs/notify/fanotify/fanotify_user.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
fs/notify/fanotify/fanotify_user.c renamed from fs/notify/fanotify/fanotify_user.c~fanotify-use-fanotify-event-structure-for-permission-response-processing-fix +5 -2
diff -puN fs/notify/fanotify/fanotify_user.c~fanotify-use-fanotify-event-structure-for-permission-response-processing-fix fs/notify/fanotify/fanotify_user.c
@@ -209,9 +209,12 @@ static ssize_t copy_event_to_user(struct
 
 #ifdef CONFIG_FANOTIFY_ACCESS_PERMISSIONS
 	if (event->mask & FAN_ALL_PERM_EVENTS) {
-		FANOTIFY_PE(event)->fd = fd;
+		struct fanotify_perm_event_info *pevent;
+
+		pevent = FANOTIFY_PE(event);
+		pevent->fd = fd;
 		mutex_lock(&group->fanotify_data.access_mutex);
-		list_add_tail(&event->fae.fse.list,
+		list_add_tail(&pevent->fae.fse.list,
 			      &group->fanotify_data.access_list);
 		mutex_unlock(&group->fanotify_data.access_mutex);
 	}

_

Patches currently in -mm which might be from [email protected] are

origin.patch fanotify-use-fanotify-event-structure-for-permission-response-processing.patch ocfs2-add-dlm_recover_callback_support-in-sysfs-fix.patch ocfs2-flock-drop-cross-node-lock-when-failed-locally.patch ocfs2-rollback-alloc_dinode-counts-when-ocfs2_block_group_set_bits-failed-checkpatch-fixes.patch mm-hugetlb-improve-page-fault-scalability-fix.patch mm-vmstat-fix-up-zone-state-accounting-fix.patch mm-keep-page-cache-radix-tree-nodes-in-check-fix-fix.patch mm-process_vm_accessc-mark-function-as-static-fix.patch mm-introduce-do_shared_fault-and-drop-do_fault-fix-fix.patch drop_caches-add-some-documentation-and-info-message.patch include-linux-syscallsh-add-sys32_quotactl-prototype-fix.patch sys_sysfs-add-config_sysfs_syscall-fix.patch kernel-groupsc-remove-return-value-of-set_groups-fix.patch xattr-guard-against-simultaneous-glibc-header-inclusion-v2.patch lib-syscallc-unexport-task_current_syscall.patch scripts-checkpatchpl-__gfp_nofail-isnt-going-away.patch checkpatch-expand-parenthesis-alignment-test-to-declarations-functions-and-assignments-fix.patch rtc-fixed-potential-race-condition-checkpatch-fixes.patch befs-logging-clean-up-fix.patch hfsplus-fix-concurrent-acess-of-alloc_blocks-fix.patch hfsplus-fix-concurrent-acess-of-alloc_blocks-fix-fix.patch