You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs: 9p: Skip check for mandatory locks when unlocking 9p: Fixes a simple bug enabling writes beyond 2GB. 9p: Change the name of new protocol from 9p2010.L to 9p2000.L fs/9p: re-init the wstat in readdir loop net/9p: Add sysfs mount_tag file for virtio 9P device net/9p: Use the tag name in the config space for identifying mount point
This commit is contained in:
@@ -98,6 +98,7 @@ struct virtio_device {
|
||||
void *priv;
|
||||
};
|
||||
|
||||
#define dev_to_virtio(dev) container_of(dev, struct virtio_device, dev)
|
||||
int register_virtio_device(struct virtio_device *dev);
|
||||
void unregister_virtio_device(struct virtio_device *dev);
|
||||
|
||||
|
||||
@@ -5,4 +5,16 @@
|
||||
#include <linux/virtio_ids.h>
|
||||
#include <linux/virtio_config.h>
|
||||
|
||||
/* The feature bitmap for virtio 9P */
|
||||
|
||||
/* The mount point is specified in a config variable */
|
||||
#define VIRTIO_9P_MOUNT_TAG 0
|
||||
|
||||
struct virtio_9p_config {
|
||||
/* length of the tag name */
|
||||
__u16 tag_len;
|
||||
/* non-NULL terminated tag name */
|
||||
__u8 tag[0];
|
||||
} __attribute__((packed));
|
||||
|
||||
#endif /* _LINUX_VIRTIO_9P_H */
|
||||
|
||||
@@ -32,13 +32,13 @@
|
||||
/** enum p9_proto_versions - 9P protocol versions
|
||||
* @p9_proto_legacy: 9P Legacy mode, pre-9P2000.u
|
||||
* @p9_proto_2000u: 9P2000.u extension
|
||||
* @p9_proto_2010L: 9P2010.L extension
|
||||
* @p9_proto_2000L: 9P2000.L extension
|
||||
*/
|
||||
|
||||
enum p9_proto_versions{
|
||||
p9_proto_legacy = 0,
|
||||
p9_proto_2000u = 1,
|
||||
p9_proto_2010L = 2,
|
||||
p9_proto_2000L = 2,
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user