diff options
| author | 2020-05-11 08:57:22 +0200 | |
|---|---|---|
| committer | 2020-05-11 08:57:22 +0200 | |
| commit | ae73e7784871ebe2c43da619b4a1e2c9ff81508d (patch) | |
| tree | 724238ba2877c672e4a61d46ec11f48d2d560936 /include/linux/backing-dev.h | |
| parent | staging: vt6656: Use const for read only data (diff) | |
| parent | Linux 5.7-rc5 (diff) | |
Merge 5.7-rc5 into staging-next
We need the staging fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/backing-dev.h')
| -rw-r--r-- | include/linux/backing-dev.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h index f88197c1ffc2..c9ad5c3b7b4b 100644 --- a/include/linux/backing-dev.h +++ b/include/linux/backing-dev.h @@ -505,13 +505,6 @@ static inline int bdi_rw_congested(struct backing_dev_info *bdi) (1 << WB_async_congested)); } -extern const char *bdi_unknown_name; - -static inline const char *bdi_dev_name(struct backing_dev_info *bdi) -{ - if (!bdi || !bdi->dev) - return bdi_unknown_name; - return dev_name(bdi->dev); -} +const char *bdi_dev_name(struct backing_dev_info *bdi); #endif /* _LINUX_BACKING_DEV_H */ |
