Re: [PATCH 1/1] rpdfs: Add minimal statfs support
Zach Brown <[email protected]> Wed, 25 Feb 2026 13:29:38 -0800
| Newsgroups | dev.linux.lists.rpdfs-devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Feb 24, 2026 at 02:26:25PM -0600, Chris Kirby wrote:
> +static int rpdfs_statfs(struct dentry *dentry, struct kstatfs *buf)
> +{
> + buf->f_type = RPDFS_SUPER_MAGIC;
> + buf->f_bsize = RPDFS_BLOCK_SIZE;
> + buf->f_namelen = RPDFS_NAME_MAX;
> +
> + return 0;
> +}
This plonks the function down amongst the part of super.c that's
otherwise about setup and teardown. Can we hoist this up above the ops?
That gets rid of the pre-declaration, as well.
- z