diff options
author | 2011-03-18 17:01:08 +0600 | |
---|---|---|
committer | 2011-03-28 09:43:28 -0700 | |
commit | ed59992e8d91b70053c53d846a76f7e1ac000454 (patch) | |
tree | f8e3cebab68a6a5919225e95dde9f3f3a9d00817 /fs/file_table.c | |
parent | ocfs2/dlm: Move kmalloc() outside the spinlock (diff) | |
download | linux-ed59992e8d91b70053c53d846a76f7e1ac000454.tar.gz linux-ed59992e8d91b70053c53d846a76f7e1ac000454.tar.bz2 linux-ed59992e8d91b70053c53d846a76f7e1ac000454.zip |
fs,ocfs2: Move o2net_get_func_run_time under CONFIG_OCFS2_FS_STATS.
When CONFIG_DEBUG_FS=y and CONFIG_OCFS2_FS_STATS=n, we get the
following warning:
fs/ocfs2/cluster/tcp.c:213:16: warning: ‘o2net_get_func_run_time’
defined but not used
Since o2net_get_func_run_time is only called from
o2net_update_recv_stats, so move it under CONFIG_OCFS2_FS_STATS.
Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: jlbec <jlbec@evilplan.org>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions