Skip to contentSkip to conversation

linux-next: build failure after merge of the akpm-current tree

PATCH Stephen Rothwell 1 participant 1 message Sep 20, 2016

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

Hi Andrew,

After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) failed like this:

fs/notify/notification.c: In function 'fsnotify_add_event':
fs/notify/notification.c:116:22: error: 'struct fsnotify_group' has no member named 'notification_mutex'

   mutex_unlock(&group->notification_mutex);
                      ^

Caused by a bad git merge automatic resolution. I had to apply the following merge fix patch:

From: Stephen Rothwell <[email protected]>
Date: Tue, 20 Sep 2016 16:23:48 +1000
Subject: [PATCH] fix bad merge of fs/notify/notification.c

---
 fs/notify/notification.c | 5 -----
 1 file changed, 5 deletions(-)
fs/notify/notification.c +0 -5
index ac14fa4d266b..1a8010e7a2a0 100644
@@ -112,11 +112,6 @@ int fsnotify_add_event(struct fsnotify_group *group,
 		return 2;
 	}
 
-	if (group->shutdown) {
-		mutex_unlock(&group->notification_mutex);
-		return 2;
-	}
-
 	if (group->q_len >= group->max_events) {
 		ret = 2;
 		/* Queue overflow event only if it isn't already queued */
Signature · 5 lines
2.8.1

-- 
Cheers,
Stephen Rothwell