Commit 02a7b843 authored by Luca Ceresoli's avatar Luca Ceresoli Committed by Greg Kroah-Hartman

staging: lustre: fld: declare internal symbols as static

Fixes sparse warnings like:
  warning: symbol '...' was not declared. Should it be static?
Signed-off-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
Cc: Peng Tao <bergwolf@gmail.com>
Cc: Jinshan Xiong <jinshan.xiong@intel.com>
Cc: Srikrishan Malik <srikrishanmalik@gmail.com>
Cc: HPDD-discuss@lists.01.org
Cc: devel@driverdev.osuosl.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 920b4f2e
...@@ -257,9 +257,9 @@ void fld_cache_flush(struct fld_cache *cache) ...@@ -257,9 +257,9 @@ void fld_cache_flush(struct fld_cache *cache)
* entry accordingly. * entry accordingly.
*/ */
void fld_cache_punch_hole(struct fld_cache *cache, static void fld_cache_punch_hole(struct fld_cache *cache,
struct fld_cache_entry *f_curr, struct fld_cache_entry *f_curr,
struct fld_cache_entry *f_new) struct fld_cache_entry *f_new)
{ {
const struct lu_seq_range *range = &f_new->fce_range; const struct lu_seq_range *range = &f_new->fce_range;
const u64 new_start = range->lsr_start; const u64 new_start = range->lsr_start;
......
...@@ -154,7 +154,7 @@ static int fld_proc_cache_flush_release(struct inode *inode, struct file *file) ...@@ -154,7 +154,7 @@ static int fld_proc_cache_flush_release(struct inode *inode, struct file *file)
return 0; return 0;
} }
struct file_operations fld_proc_cache_flush_fops = { static struct file_operations fld_proc_cache_flush_fops = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = fld_proc_cache_flush_open, .open = fld_proc_cache_flush_open,
.write = fld_proc_cache_flush_write, .write = fld_proc_cache_flush_write,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment