All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ford <david+challenge-response@blue-labs.org>
To: Jeba Anandhan A <jeba_career@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel OOPS[filesystem programming]
Date: Tue, 31 Aug 2004 12:29:51 -0400	[thread overview]
Message-ID: <4134A77F.4050004@blue-labs.org> (raw)
In-Reply-To: <20040831161956.931.qmail@web50610.mail.yahoo.com>

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

What is *my_inode set to?

Jeba Anandhan A wrote:

>i have written kernel program to access the data
>structure of particular inode.
>
>#include<linux/kernel.h>
>#include<linux/module.h>
>#include<linux/fs.h>
>              
>static struct inode *my_inode;
>static unsigned long inode_no;
>  
>
>int init_module(void){
>  printk("inode module inserted\n");
>  inode_no=1304012;
>  printk("inode no=%d",inode_no);
>  my_inode->i_ino=inode_no; // it creates segmentation
>                            //fault why so..
>return 0;
>}
>              
>void cleanup_module(void){
>}
>

[-- Attachment #2: david+challenge-response.vcf --]
[-- Type: text/x-vcard, Size: 183 bytes --]

begin:vcard
fn:David Ford
n:Ford;David
email;internet:david@blue-labs.org
title:Industrial Geek
tel;home:Ask please
tel;cell:(203) 650-3611
x-mozilla-html:TRUE
version:2.1
end:vcard


      reply	other threads:[~2004-08-31 16:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31 16:19 Kernel OOPS[filesystem programming] Jeba Anandhan A
2004-08-31 16:29 ` David Ford [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4134A77F.4050004@blue-labs.org \
    --to=david+challenge-response@blue-labs.org \
    --cc=jeba_career@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.