]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 14 Dec 2009 16:06:17 +0000 (08:06 -0800)
commit929c7112197d58053117b3303f3bcf160bcdca45
tree6b38a08608bdba469824183e68a872e78340c036
parent100acdbadc9707c6ddee16c3288759bcbe317ac1
ext4: Allow rename to create more than EXT4_LINK_MAX subdirectories

(cherry picked from commit 2c94eb86c66e1eaaa1e7d8a2120f4fad5e7e7736)

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