diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -403,7 +403,7 @@ asmlinkage long sys_fallocate(int fd, int mode, loff_t offset, loff_t len) | |||
403 | if (inode->i_op && inode->i_op->fallocate) | 403 | if (inode->i_op && inode->i_op->fallocate) |
404 | ret = inode->i_op->fallocate(inode, mode, offset, len); | 404 | ret = inode->i_op->fallocate(inode, mode, offset, len); |
405 | else | 405 | else |
406 | ret = -ENOSYS; | 406 | ret = -EOPNOTSUPP; |
407 | 407 | ||
408 | out_fput: | 408 | out_fput: |
409 | fput(file); | 409 | fput(file); |