Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 920b4f2e authored by Luca Ceresoli's avatar Luca Ceresoli Committed by Greg Kroah-Hartman
Browse files

staging: lustre: llite: 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 2a74b9bd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -652,7 +652,7 @@ static int ll_send_mgc_param(struct obd_export *mgc, char *string)
	return rc;
}

int ll_dir_setdirstripe(struct inode *dir, struct lmv_user_md *lump,
static int ll_dir_setdirstripe(struct inode *dir, struct lmv_user_md *lump,
			       char *filename)
{
	struct ptlrpc_request *request = NULL;
+2 −1
Original line number Diff line number Diff line
@@ -1587,7 +1587,8 @@ ll_get_grouplock(struct inode *inode, struct file *file, unsigned long arg)
	return 0;
}

int ll_put_grouplock(struct inode *inode, struct file *file, unsigned long arg)
static int ll_put_grouplock(struct inode *inode, struct file *file,
			    unsigned long arg)
{
	struct ll_inode_info   *lli = ll_i2info(inode);
	struct ll_file_data    *fd = LUSTRE_FPRIVATE(file);