[PATCH 1/1] md/bitmap.c:bitmap_status(): Fix filename escaping

2016-05-30 Thread Nominal Animal
The call to seq_file_path() does not include backslash itself in the set of file names escaped. This results in files named "foo\t-\nbar" and "foo\\011-\\012bar" being both shown as "foo\\011-\\012bar". Fix this by including backslash in the escaped set. diff -Nabpur linux-4.6/drivers/md/bitmap.c

[PATCH 1/1] md/bitmap.c:bitmap_status(): Fix filename escaping

2016-05-30 Thread Nominal Animal
The call to seq_file_path() does not include backslash itself in the set of file names escaped. This results in files named "foo\t-\nbar" and "foo\\011-\\012bar" being both shown as "foo\\011-\\012bar". Fix this by including backslash in the escaped set. diff -Nabpur linux-4.6/drivers/md/bitmap.c