diff options
author | Christoph Hellwig <hch@lst.de> | 2008-12-03 06:20:32 -0500 |
---|---|---|
committer | Niv Sardi <xaiki@sgi.com> | 2008-12-03 23:39:22 -0500 |
commit | 6bd16ff27060819d16b3e7abe59b6644b349aea3 (patch) | |
tree | 6a7250063b8d727f35887bfe188a4dc7802fa181 /fs/xfs/linux-2.6/xfs_aops.c | |
parent | 5efcbb853bc2f051d720a191268f8dd901fea9c2 (diff) |
kill dead inode flags
There are a few inode flags around that aren't used anywhere, so remove
them. Also update xfsidbg to display all used inode flags correctly.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_aops.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_aops.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c index 8fbc97df3609..bb224d07e1ef 100644 --- a/fs/xfs/linux-2.6/xfs_aops.c +++ b/fs/xfs/linux-2.6/xfs_aops.c | |||
@@ -317,14 +317,9 @@ xfs_map_blocks( | |||
317 | xfs_iomap_t *mapp, | 317 | xfs_iomap_t *mapp, |
318 | int flags) | 318 | int flags) |
319 | { | 319 | { |
320 | xfs_inode_t *ip = XFS_I(inode); | 320 | int nmaps = 1; |
321 | int error, nmaps = 1; | 321 | |
322 | 322 | return -xfs_iomap(XFS_I(inode), offset, count, flags, mapp, &nmaps); | |
323 | error = xfs_iomap(ip, offset, count, | ||
324 | flags, mapp, &nmaps); | ||
325 | if (!error && (flags & (BMAPI_WRITE|BMAPI_ALLOCATE))) | ||
326 | xfs_iflags_set(ip, XFS_IMODIFIED); | ||
327 | return -error; | ||
328 | } | 323 | } |
329 | 324 | ||
330 | STATIC_INLINE int | 325 | STATIC_INLINE int |