OSDN Git Service

fs/adfs: super: limit idlen according to directory type
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 4 Jun 2019 13:50:19 +0000 (14:50 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 27 Jun 2019 00:14:14 +0000 (20:14 -0400)
commit8616108de152447f99570dd45b6e3b8c71615fe5
tree2d777589ca88260c5faf29de7a19b4bc99343f45
parent5808b14a1f52554de612fee85ef517199855e310
fs/adfs: super: limit idlen according to directory type

Limit idlen according to the directory type, as idlen (the size of a
fragment ID) can not be more than 16 with the "new directory" layout.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/adfs/super.c