diff options
author | 2009-08-29 21:08:08 -0400 | |
---|---|---|
committer | 2009-08-29 21:08:08 -0400 | |
commit | b05ab1dc3795e6f997fb0d34f38fce5012533c3e (patch) | |
tree | 4479566851d82df15b0a350a3f2c3baa9009b9d4 /fs/jbd2/commit.c | |
parent | ext4: Allow rename to create more than EXT4_LINK_MAX subdirectories (diff) | |
download | linux-dev-b05ab1dc3795e6f997fb0d34f38fce5012533c3e.tar.xz linux-dev-b05ab1dc3795e6f997fb0d34f38fce5012533c3e.zip |
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: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions