Skip to contentSkip to conversation

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

PATCH In review Chuck Lever 1 participant 1 message Oct 26, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 5/27 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.

---

 net/sunrpc/rpc_pipe.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
net/sunrpc/rpc_pipe.c +2 -2
index 18f0a8d..57cd24e 100644
@@ -512,8 +512,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;

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs