From: Jan Kara Date: Sat, 13 Dec 2014 00:58:39 +0000 (-0800) Subject: fsnotify: remove destroy_list from fsnotify_mark X-Git-Tag: omap-for-v3.19/fixes-rc1~100^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37d469e7673a663cbf38360beb1eaa3224c9d272;p=pandora-kernel.git fsnotify: remove destroy_list from fsnotify_mark destroy_list is used to track marks which still need waiting for srcu period end before they can be freed. However by the time mark is added to destroy_list it isn't in group's list of marks anymore and thus we can reuse fsnotify_mark->g_list for queueing into destroy_list. This saves two pointers for each fsnotify_mark. Signed-off-by: Jan Kara Cc: Eric Paris Cc: Heinrich Schuchardt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed