diff options
author | Jan Kara <jack@suse.cz> | 2020-09-25 12:29:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-17 08:31:42 +0100 |
commit | c72225ea9ffa2ba458d6efc973e2c17f0166d41e (patch) | |
tree | 358bc059c815d83745cb915ac31fea6305f8026a /fs/udf/udf_i.h | |
parent | 6da42219d24fbdfc0691d6147dab83330efd0208 (diff) |
udf: Remove pointless union in udf_inode_info
[ Upstream commit 382a2287bf9cd283206764572f66ab12657218aa ]
We use only a single member out of the i_ext union in udf_inode_info.
Just remove the pointless union.
Signed-off-by: Jan Kara <jack@suse.cz>
Stable-dep-of: fc8033a34a3c ("udf: Preserve link count of system files")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/udf/udf_i.h')
-rw-r--r-- | fs/udf/udf_i.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/udf/udf_i.h b/fs/udf/udf_i.h index 00d773d1b7cf0..2a4731314d51f 100644 --- a/fs/udf/udf_i.h +++ b/fs/udf/udf_i.h @@ -44,11 +44,7 @@ struct udf_inode_info { unsigned i_strat4096 : 1; unsigned i_streamdir : 1; unsigned reserved : 25; - union { - struct short_ad *i_sad; - struct long_ad *i_lad; - __u8 *i_data; - } i_ext; + __u8 *i_data; struct kernel_lb_addr i_locStreamdir; __u64 i_lenStreams; struct rw_semaphore i_data_sem; |