Skip to content
Commit b05ab1dc authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: Limit number of links that can be created by ext4_link()



In ext4_link we need to check using EXT4_LINK_MAX, and not
EXT4_DIR_LINK_MAX(), since ext4_link() is creating hard links of
regular files, and not directories.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 2c94eb86
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment