Skip to content

Commit ae4a382

Browse files
teiglandswhiteho
authored andcommitted
[DLM] fix i_private
> I think you must have an old version of the base kernel as well? > i_private no longer exists in struct inode, so you'll have to use > something else, I have that patch in my stack but didn't send it; for some reason I thought it was already changed in your git tree. Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
1 parent 20abf97 commit ae4a382

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/dlm/debug_fs.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ static struct file_operations rsb_fops = {
301301

302302
static int waiters_open(struct inode *inode, struct file *file)
303303
{
304-
file->private_data = inode->i_private;
304+
file->private_data = inode->u.generic_ip;
305305
return 0;
306306
}
307307

0 commit comments

Comments
 (0)