ext4: Allow rename to create more than EXT4_LINK_MAX subdirectories
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 29 Aug 2009 01:43:15 +0000 (21:43 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 29 Aug 2009 01:43:15 +0000 (21:43 -0400)
commit2c94eb86c66e1eaaa1e7d8a2120f4fad5e7e7736
tree71f76a0ca097b887986ea0499401c3631f15a0e3
parent55ad63bf3a30936aced50f13452735c2f58b234c
ext4: Allow rename to create more than EXT4_LINK_MAX subdirectories

Use EXT4_DIR_LINK_MAX so that rename() can move a directory into new
parent directory without running into the EXT4_LINK_MAX limit.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/namei.c