inotify_map_mask_to_filter incorrectly indexes an array. Found by Doug Nazar <nazard@nazar.ca>.
Created attachment 13180 [details] git-am fix for 4.6.next, 4.5.next. Cherry-picked from master.
Reassigning to Karolin for inclusion in 4.5 and 4.6.
(In reply to Ralph Böhme from comment #2) Pushed to autobuild-v4-{6,5}-test.
(In reply to Karolin Seeger from comment #3) Pushed to both branches. Closing out bug report. Thanks!