aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_file.c')
-rw-r--r--fs/xfs/xfs_file.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
index 56afcdb2377d..92ba18f841f1 100644
--- a/fs/xfs/xfs_file.c
+++ b/fs/xfs/xfs_file.c
@@ -962,8 +962,7 @@ xfs_vm_page_mkwrite(
962STATIC loff_t 962STATIC loff_t
963xfs_seek_data( 963xfs_seek_data(
964 struct file *file, 964 struct file *file,
965 loff_t start, 965 loff_t start)
966 u32 type)
967{ 966{
968 struct inode *inode = file->f_mapping->host; 967 struct inode *inode = file->f_mapping->host;
969 struct xfs_inode *ip = XFS_I(inode); 968 struct xfs_inode *ip = XFS_I(inode);
@@ -1029,8 +1028,7 @@ out_unlock:
1029STATIC loff_t 1028STATIC loff_t
1030xfs_seek_hole( 1029xfs_seek_hole(
1031 struct file *file, 1030 struct file *file,
1032 loff_t start, 1031 loff_t start)
1033 u32 type)
1034{ 1032{
1035 struct inode *inode = file->f_mapping->host; 1033 struct inode *inode = file->f_mapping->host;
1036 struct xfs_inode *ip = XFS_I(inode); 1034 struct xfs_inode *ip = XFS_I(inode);
@@ -1092,9 +1090,9 @@ xfs_file_llseek(
1092 case SEEK_SET: 1090 case SEEK_SET:
1093 return generic_file_llseek(file, offset, origin); 1091 return generic_file_llseek(file, offset, origin);
1094 case SEEK_DATA: 1092 case SEEK_DATA:
1095 return xfs_seek_data(file, offset, origin); 1093 return xfs_seek_data(file, offset);
1096 case SEEK_HOLE: 1094 case SEEK_HOLE:
1097 return xfs_seek_hole(file, offset, origin); 1095 return xfs_seek_hole(file, offset);
1098 default: 1096 default:
1099 return -EINVAL; 1097 return -EINVAL;
1100 } 1098 }