diff options
Diffstat (limited to 'fs/xfs/xfs_file.c')
-rw-r--r-- | fs/xfs/xfs_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index 309e26c9dddb..56d0e526870c 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c | |||
@@ -764,7 +764,7 @@ xfs_file_fallocate( | |||
764 | enum xfs_prealloc_flags flags = 0; | 764 | enum xfs_prealloc_flags flags = 0; |
765 | uint iolock = XFS_IOLOCK_EXCL; | 765 | uint iolock = XFS_IOLOCK_EXCL; |
766 | loff_t new_size = 0; | 766 | loff_t new_size = 0; |
767 | bool do_file_insert = 0; | 767 | bool do_file_insert = false; |
768 | 768 | ||
769 | if (!S_ISREG(inode->i_mode)) | 769 | if (!S_ISREG(inode->i_mode)) |
770 | return -EINVAL; | 770 | return -EINVAL; |
@@ -825,7 +825,7 @@ xfs_file_fallocate( | |||
825 | error = -EINVAL; | 825 | error = -EINVAL; |
826 | goto out_unlock; | 826 | goto out_unlock; |
827 | } | 827 | } |
828 | do_file_insert = 1; | 828 | do_file_insert = true; |
829 | } else { | 829 | } else { |
830 | flags |= XFS_PREALLOC_SET; | 830 | flags |= XFS_PREALLOC_SET; |
831 | 831 | ||