hostfs: Add a BUG_ON to detect behavior changes of dentry_path_raw()
authorRichard Weinberger <richard@nod.at>
Tue, 3 Mar 2015 22:41:52 +0000 (23:41 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 22:27:49 +0000 (23:27 +0100)
hostfs' __dentry_name() relies on the fact that dentry_path_raw() will place
the path name at the end of the provided buffer.
While this is okay, add a BUG_ON() to detect behavior changes as soon
as possible.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/hostfs/hostfs_kern.c

Simple merge