Skip to content

Commit

Permalink
[PATCH] ext2: cleanup: put_page and comment fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Evgeniy Dushistov authored and Linus Torvalds committed Jun 25, 2006
1 parent 77787bf commit 7d93a1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions fs/ext2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion fs/ext2/fsync.c
Original file line number Diff line number Diff line change
Expand Up @@ -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() */


/*
Expand Down

0 comments on commit 7d93a1a

Please sign in to comment.