From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751366AbeAORvW (ORCPT + 1 other); Mon, 15 Jan 2018 12:51:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56027 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbeAORvU (ORCPT ); Mon, 15 Jan 2018 12:51:20 -0500 From: Hans de Goede To: Arnd Bergmann , Greg Kroah-Hartman , Michael Thayer , Alexander Viro Cc: Hans de Goede , Larry Finger , Christoph Hellwig , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH v2 0/1] fs: Add VirtualBox guest shared folder (vboxsf) support Date: Mon, 15 Jan 2018 18:51:15 +0100 Message-Id: <20180115175116.4130-1-hdegoede@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 15 Jan 2018 17:51:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Hi All, Now that the vboxguest driver which the vboxsf (guest shared folder) fs driver depends on is queued for merging into 4.16 in char-misc-next, all the dependencies for the vboxsf are in place. So here is a v2 of my initial vboxsf, addressing all of the remark from Christoph Hellwig about v1: -Removed various unused wrapper functions -Don't use i_private, instead defined alloc_inode and destroy_inode methods and use container_of. -Drop obsolete comment referencing people to http://www.atnf.csiro.au/people/rgooch/linux/vfs.txt -move the single symlink op of from lnkops.c to file.c As well as bunch of other cleanups: -Use SPDX license headers -Replace SHFLROOT / SHFLHANDLE defines with normal types -Removed unnecessary S_ISREG checks -Got rid of bounce_buffer in regops, instead add a "user" flag to vboxsf_read / vboxsf_write, re-using the existing __user address support in the vboxguest module -Make vboxsf_wrappers return regular linux errno values -Use i_size_write to update size on writing -Convert doxygen style comments to kerneldoc style comments Please review. Regards, Hans