2019-10-10 13:10:26

by Chengguang Xu

[permalink] [raw]
Subject: [PATCH] quota: minor code cleanup for v1_format_ops

It's not a functinal change, it's just for keeping
consistent coding style.

Signed-off-by: Chengguang Xu <[email protected]>
---
fs/quota/quota_v1.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/fs/quota/quota_v1.c b/fs/quota/quota_v1.c
index c740e5572eb8..cd92e5fa0062 100644
--- a/fs/quota/quota_v1.c
+++ b/fs/quota/quota_v1.c
@@ -217,7 +217,6 @@ static const struct quota_format_ops v1_format_ops = {
.check_quota_file = v1_check_quota_file,
.read_file_info = v1_read_file_info,
.write_file_info = v1_write_file_info,
- .free_file_info = NULL,
.read_dqblk = v1_read_dqblk,
.commit_dqblk = v1_commit_dqblk,
};
--
2.21.0




2019-10-18 10:16:34

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH] quota: minor code cleanup for v1_format_ops

On Thu 10-10-19 21:09:24, Chengguang Xu wrote:
> It's not a functinal change, it's just for keeping
> consistent coding style.
>
> Signed-off-by: Chengguang Xu <[email protected]>

Thanks. Applied.

Honza

> ---
> fs/quota/quota_v1.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/quota/quota_v1.c b/fs/quota/quota_v1.c
> index c740e5572eb8..cd92e5fa0062 100644
> --- a/fs/quota/quota_v1.c
> +++ b/fs/quota/quota_v1.c
> @@ -217,7 +217,6 @@ static const struct quota_format_ops v1_format_ops = {
> .check_quota_file = v1_check_quota_file,
> .read_file_info = v1_read_file_info,
> .write_file_info = v1_write_file_info,
> - .free_file_info = NULL,
> .read_dqblk = v1_read_dqblk,
> .commit_dqblk = v1_commit_dqblk,
> };
> --
> 2.21.0
>
>
>
>
--
Jan Kara <[email protected]>
SUSE Labs, CR