xfs_itable.c (51ce16d519da0bc3c548e0facef7cb3aab1ac8cc) xfs_itable.c (92bfc6e7c4eabbbd15e7d6d49123b296d05dcfd1)
1/*
2 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *

--- 55 unchanged lines hidden (view full) ---

64 error = xfs_iget(mp, NULL, ino,
65 XFS_IGET_BULKSTAT, XFS_ILOCK_SHARED, &ip, bno);
66 if (error) {
67 *stat = BULKSTAT_RV_NOTHING;
68 return error;
69 }
70
71 ASSERT(ip != NULL);
1/*
2 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.
3 * All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation.
8 *

--- 55 unchanged lines hidden (view full) ---

64 error = xfs_iget(mp, NULL, ino,
65 XFS_IGET_BULKSTAT, XFS_ILOCK_SHARED, &ip, bno);
66 if (error) {
67 *stat = BULKSTAT_RV_NOTHING;
68 return error;
69 }
70
71 ASSERT(ip != NULL);
72 ASSERT(ip->i_blkno != (xfs_daddr_t)0);
72 ASSERT(ip->i_imap.im_blkno != 0);
73
74 dic = &ip->i_d;
75
76 /* xfs_iget returns the following without needing
77 * further change.
78 */
79 buf->bs_nlink = dic->di_nlink;
80 buf->bs_projid = dic->di_projid;

--- 831 unchanged lines hidden ---
73
74 dic = &ip->i_d;
75
76 /* xfs_iget returns the following without needing
77 * further change.
78 */
79 buf->bs_nlink = dic->di_nlink;
80 buf->bs_projid = dic->di_projid;

--- 831 unchanged lines hidden ---