Commit 5ba72e60 authored by Yan, Zheng's avatar Yan, Zheng Committed by Ilya Dryomov
Browse files

ceph: set special inode's blocksize to page size



Signed-off-by: default avatar"Yan, Zheng" <zyan@redhat.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 1c163f4c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -899,6 +899,7 @@ static int fill_inode(struct inode *inode, struct page *locked_page,
	case S_IFBLK:
	case S_IFCHR:
	case S_IFSOCK:
		inode->i_blkbits = PAGE_SHIFT;
		init_special_inode(inode, inode->i_mode, inode->i_rdev);
		inode->i_op = &ceph_file_iops;
		break;