diff options
-rw-r--r-- | fs/ceph/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/file.c b/fs/ceph/file.c index c4419e848a4f..d10510a4733d 100644 --- a/fs/ceph/file.c +++ b/fs/ceph/file.c | |||
@@ -1201,7 +1201,7 @@ static long ceph_fallocate(struct file *file, int mode, | |||
1201 | loff_t offset, loff_t length) | 1201 | loff_t offset, loff_t length) |
1202 | { | 1202 | { |
1203 | struct ceph_file_info *fi = file->private_data; | 1203 | struct ceph_file_info *fi = file->private_data; |
1204 | struct inode *inode = file->f_dentry->d_inode; | 1204 | struct inode *inode = file_inode(file); |
1205 | struct ceph_inode_info *ci = ceph_inode(inode); | 1205 | struct ceph_inode_info *ci = ceph_inode(inode); |
1206 | struct ceph_osd_client *osdc = | 1206 | struct ceph_osd_client *osdc = |
1207 | &ceph_inode_to_client(inode)->client->osdc; | 1207 | &ceph_inode_to_client(inode)->client->osdc; |