[Devel,1/2] mfsync: cleanup

Submitted by Dmitry Monakhov on March 15, 2017, 8:43 a.m.

Details

Message ID 1489567390-10495-1-git-send-email-dmonakhov@openvz.org
State New
Series "Series without cover letter"
Headers show

Commit Message

Dmitry Monakhov March 15, 2017, 8:43 a.m.
Long time ago prink was used for debug purposes only, and was merged by occasion,
it was cleanedup in b4d7159537296b, but resurected after rebase. Let's kill it completely.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
---
 fs/ext4/ioctl.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c
index bb372fa..cd831d5 100644
--- a/fs/ext4/ioctl.c
+++ b/fs/ext4/ioctl.c
@@ -784,10 +784,9 @@  resize_out:
 		int i, err;
 
 		if (copy_from_user(&mfsync, (struct ext4_ioc_mfsync_info *)arg,
-				   sizeof(mfsync))) {
-			printk("%s:%d", __FUNCTION__, __LINE__);
+				   sizeof(mfsync)))
 			return -EFAULT;
-		}
+
 		if (mfsync.size == 0)
 			return 0;
 		usr_fd = (__u32 __user *) (arg + sizeof(__u32));