Re: [Ocfs2-devel] [PATCH 12/17] xfs: Convert to using ->get_state callback

2015-01-20 Thread Jan Kara
On Mon 19-01-15 01:38:10, Christoph Hellwig wrote: > > +static void xfs_qm_fill_state(struct qc_type_state *tstate, > > Normal xfs style would be to keep the "static void " on a separate line, > as well as the arguments, e.g. OK, will change it to conform to the XFS coding style. > static void

Re: [Ocfs2-devel] [PATCH 12/17] xfs: Convert to using ->get_state callback

2015-01-19 Thread Christoph Hellwig
> +static void xfs_qm_fill_state(struct qc_type_state *tstate, Normal xfs style would be to keep the "static void " on a separate line, as well as the arguments, e.g. static void xfs_qm_fill_state( struct qc_type_state*tstate, > > + struct xfs_mount *mp, > +

[Ocfs2-devel] [PATCH 12/17] xfs: Convert to using ->get_state callback

2015-01-16 Thread Jan Kara
Convert xfs to use ->get_state callback instead of ->get_xstate and ->get_xstatev. Signed-off-by: Jan Kara --- fs/xfs/xfs_qm.h | 6 +- fs/xfs/xfs_qm_syscalls.c | 219 --- fs/xfs/xfs_quotaops.c| 26 +- 3 files changed, 58 insertions(