2017-11-27 20:34:14

by Jakub Kicinski

[permalink] [raw]
Subject: Re: [PATCH] debugfs: add definition of debugfs_real_fops() if CONFIG_DEBUG_FS unset

On Mon, 27 Nov 2017 10:51:34 -0800, Jakub Kicinski wrote:
> Recent commit moved the implementation of debugfs_real_fops()
> out of the header file. The declaration, however, is only
> provided if CONFIG_DEBUG_FS is set. Add an empty static inline
> definition for when CONFIG_DEBUG_FS is unset.
>
> Fixes: 7c8d469877b1 ("debugfs: add support for more elaborate ->d_fsdata")
> Signed-off-by: Jakub Kicinski <[email protected]>
> Reviewed-by: Quentin Monnet <[email protected]>

Argh, should've been a static inline.

From 1585246399786885535@xxx Mon Nov 27 18:52:56 +0000 2017
X-GM-THRID: 1585246399786885535
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread