| To: | Jeff Liu <jeff.liu@xxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [patch] xfs: don't allow negative error tags |
| From: | Dan Carpenter <dan.carpenter@xxxxxxxxxx> |
| Date: | Fri, 24 Jun 2016 16:27:49 +0300 |
| Cc: | Dave Chinner <david@xxxxxxxxxxxxx>, kernel-janitors@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <576D31B9.8010908@xxxxxxxxxxxx> |
| References: | <20160624122234.GA23169@mwanda> <576D31B9.8010908@xxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Fri, Jun 24, 2016 at 09:12:25PM +0800, Jeff Liu wrote:
> Hi Dan,
>
> xfs_errortag_add() is called by xfs_file_ioctl(), which accept the 1st
> argument as signed, i.e,
>
> typedef struct xfs_error_injection {
> __s32 fd;
> __s32 errtag;
> } xfs_error_injection_t;
>
> Should we make it happy as well? Also, the typedef can be converted to
> to struct xfs_error_injection by removing the depreciated
> xfs_error_injection_t
> syntax if so.
That has been the user interface for a while so I didn't want to change
it.
regards,
dan carpenter
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: xfs metadata overhead, Danny Shavit |
|---|---|
| Next by Date: | Re: Bug (?) : cumulative xfsrestore does not restore files and folders in a directory which was renamed, Damien Gombault |
| Previous by Thread: | [patch] xfs: don't allow negative error tags, Dan Carpenter |
| Next by Thread: | xfs_irecover question, Chang, Brady |
| Indexes: | [Date] [Thread] [Top] [All Lists] |