mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 22:26:23 +00:00
scst: Kernel 3.19 build fix
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6167 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1363,7 +1363,7 @@ static int vdisk_init_block_integrity(struct scst_vdisk_dev *virt_dev)
|
||||
goto out;
|
||||
}
|
||||
|
||||
inode = fd->f_dentry->d_inode;
|
||||
inode = file_inode(fd);
|
||||
|
||||
if (!S_ISBLK(inode->i_mode)) {
|
||||
PRINT_ERROR("%s is NOT a block device!", virt_dev->filename);
|
||||
|
||||
Reference in New Issue
Block a user