]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[XFS] xfs_bulkstat_one_dinode() never returns an error.
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:24:04 +0000 (12:24 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 02:01:27 +0000 (12:01 +1000)
Mark it void.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30828a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_itable.c

index 45d8776408ef2a4f0829c25caf9130adf6e57169..eb85bdedad0c7505aa90bdeb09c97403b3979631 100644 (file)
@@ -129,7 +129,7 @@ xfs_bulkstat_one_iget(
        return error;
 }
 
-STATIC int
+STATIC void
 xfs_bulkstat_one_dinode(
        xfs_mount_t     *mp,            /* mount point for filesystem */
        xfs_ino_t       ino,            /* inode number to get data for */
@@ -198,8 +198,6 @@ xfs_bulkstat_one_dinode(
                buf->bs_blocks = be64_to_cpu(dic->di_nblocks);
                break;
        }
-
-       return 0;
 }
 
 STATIC int