]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs, notify: Move bare fdinfo helpers to a header
authorCyrill Gorcunov <gorcunov@openvz.org>
Thu, 29 Nov 2012 03:19:20 +0000 (14:19 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Dec 2012 05:23:58 +0000 (16:23 +1100)
commitfd784d3c884b8322c7195e49518b2f3a173c2b38
tree89efafe0468fc560b7ae576c51defcc113333f44
parent659308874e0e369f786e6d93d6c62af1bad35305
fs, notify: Move bare fdinfo helpers to a header

Otherwise if the kernel gets build without procfs support
we will have build error

 | fs/notify/inotify/inotify_user.c:333:17: error: 'inotify_show_fdinfo' undeclared here (not in a function)

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/notify/fdinfo.c
fs/notify/fdinfo.h