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

Commit 9b45b74c authored by Chuck Lever's avatar Chuck Lever Committed by Trond Myklebust
Browse files

SUNRPC: Remove an unneeded implicit type cast when calling rpc_depopulate()



The two arguments of rpc_depopulate() that pass in inode numbers should use
the same type as inode->i_ino: unsigned long.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 322e2efe
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -523,8 +523,8 @@ rpc_get_inode(struct super_block *sb, int mode)
/*
/*
 * FIXME: This probably has races.
 * FIXME: This probably has races.
 */
 */
static void
static void rpc_depopulate(struct dentry *parent,
rpc_depopulate(struct dentry *parent, int start, int eof)
			   unsigned long start, unsigned long eof)
{
{
	struct inode *dir = parent->d_inode;
	struct inode *dir = parent->d_inode;
	struct list_head *pos, *next;
	struct list_head *pos, *next;