From: David Teigland Date: Wed, 26 Jul 2006 19:31:15 +0000 (-0400) Subject: [DLM] fix i_private X-Git-Tag: firefly_0821_release~32406^2~122 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ae4a382004fc6cf229c51deaf69910410d313e0b;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: Steven Whitehouse --- diff --git a/fs/dlm/debug_fs.c b/fs/dlm/debug_fs.c index 516f6c9ee4d5..8f471d9a9e3a 100644 --- a/fs/dlm/debug_fs.c +++ b/fs/dlm/debug_fs.c @@ -301,7 +301,7 @@ static struct file_operations rsb_fops = { static int waiters_open(struct inode *inode, struct file *file) { - file->private_data = inode->i_private; + file->private_data = inode->u.generic_ip; return 0; }