[PATCH] quota: sanitize dentry handling in vfs_quota_on_mount
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Jun 2005 07:09:16 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:20 +0000 (09:45 -0700)
commit2fa389c5eb8c97d621653184d2adf5fdbd4a3167
treea958e6ab570003e81b91df986492ca60fd247006
parent84de856ed30c568c2bb7b9ac0679772bd2737d9b
[PATCH] quota: sanitize dentry handling in vfs_quota_on_mount

Use lookup_one_len instead of opencoding a simplified lookup using
lookup_hash with a fake hash.

Also there's no need anymore for the d_invalidate as we have a completely
valid dentry now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/dquot.c