summaryrefslogtreecommitdiff
path: root/jffsX-utils/compr_rtime.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-04-03 12:54:16 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-04-03 15:31:39 +0200
commit2a26da4468197884d1381bffafe9161453863505 (patch)
tree1bba1024b58c296076ffaa2af8b389d897732dd0 /jffsX-utils/compr_rtime.c
parentb5027be5f470830ac9543db3c52e076b13abd313 (diff)
mkfs.ubifs: fix regression when trying to store device special files
Commit a767dd30 added a check to add_inode that bails when trying to store extra data in anything other than a symlink. The symlink encryption support added by that commit relies on the assumption. Unfortionately it was overlooked that device special files also store the device number as additional data in the inode. The check added in commit a767dd30 broke support for device files in mkfs.ubifs. This commit adds a quick and dirty fix, moving the check into the fscrypt branch, breaking only the fscrypt version but restoring old functionality for unencrypted file systems. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'jffsX-utils/compr_rtime.c')
0 files changed, 0 insertions, 0 deletions