| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 12/17] xfs: Convert to using ->get_state callback |
| From: | Jan Kara <jack@xxxxxxx> |
| Date: | Tue, 20 Jan 2015 18:33:07 +0100 |
| Cc: | Jan Kara <jack@xxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, cluster-devel@xxxxxxxxxx, ocfs2-devel@xxxxxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20150119093810.GA16484@xxxxxxxxxxxxx> |
| References: | <1421412471-4747-1-git-send-email-jack@xxxxxxx> <1421412471-4747-13-git-send-email-jack@xxxxxxx> <20150119093810.GA16484@xxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
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
> xfs_qm_fill_state(
> struct qc_type_state *tstate,
>
> >
> > + struct xfs_mount *mp,
> > + struct xfs_inode *ip,
> > + xfs_ino_t ino)
>
> No need to pass mp, as it can be derived as ip->i_mount.
Good point.
> Btw, I think this code should move into xfs_quotaops.c now
> that it ties into the Linux quota interface, and xfs_qm_scall_getstate
> should be folded into xfs_fs_get_quota_state.
OK, will do.
Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
|
| Previous by Date: | Re: [PATCH 09/17] quota: Make Q_XQUOTASYNC support VFS quota syncing, Jan Kara |
|---|---|
| Next by Date: | Quota Configuration, Sivaprasad |
| Previous by Thread: | Re: [PATCH 12/17] xfs: Convert to using ->get_state callback, Christoph Hellwig |
| Next by Thread: | [PATCH 08/17] quota: Store maximum space limit in bytes, Jan Kara |
| Indexes: | [Date] [Thread] [Top] [All Lists] |