X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fdebugfs%2Ffile.c;h=35c999544c30fa888515ed3dc7953170cb2027f5;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=66a505422e5cbb8f75756022366a27a16688628b;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/fs/debugfs/file.c b/fs/debugfs/file.c index 66a505422..35c999544 100644 --- a/fs/debugfs/file.c +++ b/fs/debugfs/file.c @@ -13,7 +13,6 @@ * */ -#include #include #include #include @@ -33,8 +32,8 @@ static ssize_t default_write_file(struct file *file, const char __user *buf, static int default_open(struct inode *inode, struct file *file) { - if (inode->u.generic_ip) - file->private_data = inode->u.generic_ip; + if (inode->i_private) + file->private_data = inode->i_private; return 0; }