]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/xfs/xfs_itable.c
xfs: fix some minor sparse warnings
[karo-tx-linux.git] / fs / xfs / xfs_itable.c
index b93e14b86754a6cf6b12e4e9952e911e10a008ad..8a67d53b9b7aa4e5d1dfd6be6ed45a2d1caef8e8 100644 (file)
@@ -541,8 +541,9 @@ xfs_bulkstat_single(
         * at the expense of the error case.
         */
 
-       ino = (xfs_ino_t)*lastinop;
-       error = xfs_bulkstat_one(mp, ino, buffer, sizeof(xfs_bstat_t), 0, &res);
+       ino = *lastinop;
+       error = xfs_bulkstat_one(mp, ino, buffer, sizeof(xfs_bstat_t),
+                                NULL, &res);
        if (error) {
                /*
                 * Special case way failed, do it the "long" way