diff options
author | Evgeniy Dushistov <dushistov@mail.ru> | 2006-06-25 05:49:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 10:01:25 -0700 |
commit | 7d93a1a53a72aa704a8fef6e0fb4f6c6cd6aa07a (patch) | |
tree | 75367213c35e8d4e1bd0bbccce22f39ae37da9d4 /fs/ext2/dir.c | |
parent | 77787bfb44da6e6166af088226707aeccee27968 (diff) | |
download | op-kernel-dev-7d93a1a53a72aa704a8fef6e0fb4f6c6cd6aa07a.zip op-kernel-dev-7d93a1a53a72aa704a8fef6e0fb4f6c6cd6aa07a.tar.gz |
[PATCH] ext2: cleanup: put_page and comment fix
Things which force me think a little: why so?
Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext2/dir.c')
-rw-r--r-- | fs/ext2/dir.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c index 3c1c9aa..92ea826 100644 --- a/fs/ext2/dir.c +++ b/fs/ext2/dir.c @@ -399,8 +399,7 @@ ino_t ext2_inode_by_name(struct inode * dir, struct dentry *dentry) de = ext2_find_entry (dir, dentry, &page); if (de) { res = le32_to_cpu(de->inode); - kunmap(page); - page_cache_release(page); + ext2_put_page(page); } return res; } |