nilfs2: avoid bare use of 'unsigned'
[cascardo/linux.git] / fs / nilfs2 / btree.c
index 3a3821b..57ec6af 100644 (file)
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
- * Written by Koji Sato <koji@osrg.net>.
+ * Written by Koji Sato.
  */
 
 #include <linux/slab.h>
@@ -689,7 +685,8 @@ static int nilfs_btree_lookup(const struct nilfs_bmap *btree,
 }
 
 static int nilfs_btree_lookup_contig(const struct nilfs_bmap *btree,
-                                    __u64 key, __u64 *ptrp, unsigned maxblocks)
+                                    __u64 key, __u64 *ptrp,
+                                    unsigned int maxblocks)
 {
        struct nilfs_btree_path *path;
        struct nilfs_btree_node *node;