Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d93a1a5 authored by Evgeniy Dushistov's avatar Evgeniy Dushistov Committed by Linus Torvalds
Browse files

[PATCH] ext2: cleanup: put_page and comment fix



Things which force me think a little: why so?

Signed-off-by: default avatarEvgeniy Dushistov <dushistov@mail.ru>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 77787bfb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
}
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@

#include "ext2.h"
#include <linux/smp_lock.h>
#include <linux/buffer_head.h>		/* for fsync_inode_buffers() */
#include <linux/buffer_head.h>		/* for sync_mapping_buffers() */


/*