aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ufs/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ufs/util.c')
-rw-r--r--fs/ufs/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ufs/util.c b/fs/ufs/util.c
index b6c2f94e041e..a409e3e7827a 100644
--- a/fs/ufs/util.c
+++ b/fs/ufs/util.c
@@ -261,14 +261,14 @@ struct page *ufs_get_locked_page(struct address_space *mapping,
261 if (unlikely(page->mapping == NULL)) { 261 if (unlikely(page->mapping == NULL)) {
262 /* Truncate got there first */ 262 /* Truncate got there first */
263 unlock_page(page); 263 unlock_page(page);
264 page_cache_release(page); 264 put_page(page);
265 page = NULL; 265 page = NULL;
266 goto out; 266 goto out;
267 } 267 }
268 268
269 if (!PageUptodate(page) || PageError(page)) { 269 if (!PageUptodate(page) || PageError(page)) {
270 unlock_page(page); 270 unlock_page(page);
271 page_cache_release(page); 271 put_page(page);
272 272
273 printk(KERN_ERR "ufs_change_blocknr: " 273 printk(KERN_ERR "ufs_change_blocknr: "
274 "can not read page: ino %lu, index: %lu\n", 274 "can not read page: ino %lu, index: %lu\n",