commit | f702ba0fd7d50b5f5f5aea5317875a10d40b869f | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Mon Sep 22 15:21:01 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Sep 22 15:21:01 2008 -0400 |
tree | bd31cefb5b88b882f4088007482266a3f5ad93ab | |
parent | 914258bf2cb22bf4336a1b1d90c551b4b11ca5aa [diff] |
ext4: Don't use 'struct dentry' for internal lookups This is a port of a patch from Linus which fixes a 200+ byte stack usage problem in ext4_get_parent(). It's more efficient to pass down only the actual parts of the dentry that matter: the parent inode and the name, instead of allocating a struct dentry on the stack. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>