diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-10-26 13:31:04 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 02:05:43 -0500 |
commit | 9b45b74ce2234ca15131ec0725010c1da818df05 (patch) | |
tree | 715268c53fc427fd4684fb9885a814b73b8d835c /net/sunrpc | |
parent | 322e2efe6224be5de2852a7fddfac5cf11317af3 (diff) |
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 <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 19b44e53e421..7e197168a245 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) | |||
523 | /* | 523 | /* |
524 | * FIXME: This probably has races. | 524 | * FIXME: This probably has races. |
525 | */ | 525 | */ |
526 | static void | 526 | static void rpc_depopulate(struct dentry *parent, |
527 | rpc_depopulate(struct dentry *parent, int start, int eof) | 527 | unsigned long start, unsigned long eof) |
528 | { | 528 | { |
529 | struct inode *dir = parent->d_inode; | 529 | struct inode *dir = parent->d_inode; |
530 | struct list_head *pos, *next; | 530 | struct list_head *pos, *next; |