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 <dmonak...@openvz.org> --- fs/ext4/ioctl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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)); -- 1.8.3.1 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel