diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-02-08 07:20:42 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:22:35 -0500 |
commit | c0b344385fa05f6bea462e707fcba89f9e2776c2 (patch) | |
tree | 391376739ffb0b5c9dfcf294c9f746d7ff2daf66 /fs/udf/partition.c | |
parent | 5e0f001736651f6f859aeca95f895c829d223cdb (diff) |
udf: remove UDF_I_* macros and open code them
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Acked-by: Jan Kara <jack@suse.cz>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/udf/partition.c')
-rw-r--r-- | fs/udf/partition.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/partition.c b/fs/udf/partition.c index 027c879969f1..cfe213fd3113 100644 --- a/fs/udf/partition.c +++ b/fs/udf/partition.c | |||
@@ -88,14 +88,14 @@ uint32_t udf_get_pblock_virt15(struct super_block *sb, uint32_t block, | |||
88 | 88 | ||
89 | brelse(bh); | 89 | brelse(bh); |
90 | 90 | ||
91 | if (UDF_I_LOCATION(sbi->s_vat_inode).partitionReferenceNum == | 91 | if (UDF_I(sbi->s_vat_inode)->i_location.partitionReferenceNum == |
92 | partition) { | 92 | partition) { |
93 | udf_debug("recursive call to udf_get_pblock!\n"); | 93 | udf_debug("recursive call to udf_get_pblock!\n"); |
94 | return 0xFFFFFFFF; | 94 | return 0xFFFFFFFF; |
95 | } | 95 | } |
96 | 96 | ||
97 | return udf_get_pblock(sb, loc, | 97 | return udf_get_pblock(sb, loc, |
98 | UDF_I_LOCATION(sbi->s_vat_inode). | 98 | UDF_I(sbi->s_vat_inode)->i_location. |
99 | partitionReferenceNum, | 99 | partitionReferenceNum, |
100 | offset); | 100 | offset); |
101 | } | 101 | } |