diff options
Diffstat (limited to 'fs/ioctl.c')
-rw-r--r-- | fs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ioctl.c b/fs/ioctl.c index e8e89edba576..ac2d47e43926 100644 --- a/fs/ioctl.c +++ b/fs/ioctl.c | |||
@@ -432,7 +432,7 @@ static int ioctl_fioasync(unsigned int fd, struct file *filp, | |||
432 | else | 432 | else |
433 | error = -ENOTTY; | 433 | error = -ENOTTY; |
434 | } | 434 | } |
435 | return error; | 435 | return error < 0 ? error : 0; |
436 | } | 436 | } |
437 | 437 | ||
438 | static int ioctl_fsfreeze(struct file *filp) | 438 | static int ioctl_fsfreeze(struct file *filp) |