diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-04-12 14:52:35 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-04-21 02:39:10 +0300 |
commit | 694852ead287a3433126e7ebda397b242dc99624 (patch) | |
tree | ac452185c39a2c8b23b0f8aec40e3dbdd39966ff /include/uapi/linux/if_macsec.h | |
parent | b2d229d4ddb17db541098b83524d901257e93845 (diff) | |
download | linux-694852ead287a3433126e7ebda397b242dc99624.tar.xz |
zonefs: Clear inode information flags on inode creation
Ensure that the i_flags field of struct zonefs_inode_info is cleared to
0 when initializing a zone file inode, avoiding seeing the flag
ZONEFS_ZONE_OPEN being incorrectly set.
Fixes: b5c00e975779 ("zonefs: open/close zone on file open/close")
Cc: <stable@vger.kernel.org>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Diffstat (limited to 'include/uapi/linux/if_macsec.h')
0 files changed, 0 insertions, 0 deletions