Re: [PATCH] fs: Introducing Lanyard Filesystem

From: Eric W. Biederman
Date: Thu Aug 23 2012 - 13:30:03 EST


Dan Luedtke <mail@xxxxxxxx> writes:

> +/**
> + * struct lanyfs_opts - mount options
> + * @uid: userid of all files and directories
> + * @gid: grouid of all files and direcotries
> + * @dmask: directory mask
> + * @fmask: file mask
> + * @discard: issue discard requests on block freeing
> + * @flush: force instant writing of changed data
> + */
> +struct lanyfs_opts {
> + uid_t uid;
> + gid_t gid;
A small nit. Those above two lines should be:
kuid_t uid;
kgid_t gid;
> + unsigned int dmask;
> + unsigned int fmask;
> + unsigned int discard:1,
> + flush:1;
> +};

Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/