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

Commit df3a98b0 authored by Dan Carpenter's avatar Dan Carpenter Committed by Theodore Ts'o
Browse files

ext4: remove an unneeded check in mext_page_mkuptodate()



"err" is zero here, there is no need to check again.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent d8558a29
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -861,7 +861,6 @@ mext_page_mkuptodate(struct page *page, unsigned from, unsigned to)
			}
			if (!buffer_mapped(bh)) {
				zero_user(page, block_start, blocksize);
				if (!err)
				set_buffer_uptodate(bh);
				continue;
			}