From: Chuck Lever Date: Fri, 26 Oct 2007 17:31:04 +0000 (-0400) Subject: SUNRPC: Remove an unneeded implicit type cast when calling rpc_depopulate() X-Git-Tag: v2.6.25-rc1~1146^2~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9b45b74ce2234ca15131ec0725010c1da818df05;p=platform%2Fkernel%2Flinux-3.10.git 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: Chuck Lever Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 19b44e5..7e19716 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -523,8 +523,8 @@ rpc_get_inode(struct super_block *sb, int mode) /* * FIXME: This probably has races. */ -static void -rpc_depopulate(struct dentry *parent, int start, int eof) +static void rpc_depopulate(struct dentry *parent, + unsigned long start, unsigned long eof) { struct inode *dir = parent->d_inode; struct list_head *pos, *next;