Home
last modified time | relevance | path

Searched hist:aad50b1e (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/hostfs/
H A Dhostfs_kern.caad50b1e Tue Mar 03 16:41:52 CST 2015 Richard Weinberger <richard@nod.at> hostfs: Add a BUG_ON to detect behavior changes of dentry_path_raw()

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>
aad50b1e Tue Mar 03 16:41:52 CST 2015 Richard Weinberger <richard@nod.at> hostfs: Add a BUG_ON to detect behavior changes of dentry_path_raw()

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>