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

Commit 4c1695e4 authored by Arun KS's avatar Arun KS Committed by Naitik Bharadiya
Browse files

ext4: Fix compile warning



This patch fixes the compiler warning caused by wrong indentation.

Change-Id: I4230ef08b94c5cfcbffb9f8e4ea53ec3d23bf6c5
Signed-off-by: default avatarArun KS <arunks@codeaurora.org>
[schikk@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: default avatarSwetha Chikkaboraiah <schikk@codeaurora.org>
parent e391b118
Loading
Loading
Loading
Loading
+17 −16
Original line number Diff line number Diff line
@@ -479,13 +479,13 @@ int ext4_bio_write_page(struct ext4_io_submit *io,
		if (io->io_bio)
			gfp_flags = GFP_NOWAIT | __GFP_NOWARN;
	retry_encrypt:
	if (!fscrypt_using_hardware_encryption(inode))
		data_page = fscrypt_encrypt_page(inode, page, PAGE_SIZE, 0,
						page->index, gfp_flags);
		if (!fscrypt_using_hardware_encryption(inode)) {
			data_page = fscrypt_encrypt_page(inode, page,
				 PAGE_SIZE, 0, page->index, gfp_flags);
			if (IS_ERR(data_page)) {
				ret = PTR_ERR(data_page);
			if (ret == -ENOMEM &&
			    (io->io_bio || wbc->sync_mode == WB_SYNC_ALL)) {
				if (ret == -ENOMEM && (io->io_bio ||
					wbc->sync_mode == WB_SYNC_ALL)) {
					gfp_flags = GFP_NOFS;
					if (io->io_bio)
						ext4_io_submit(io);
@@ -498,6 +498,7 @@ int ext4_bio_write_page(struct ext4_io_submit *io,
				goto out;
			}
		}
	}

	/* Now submit buffers to write */
	do {