Hello,
I've written code for socket creation in kernel 2.6( socket_create() ) and called that functon in the ext2_new_inode().Now what happens is every time i open anything the socket gets created which i dont want.What i want is,when i create any file on ext2 filesystem i want my socket function getting called and socket is craeted.
Is it correct where i called that function or tell me from where should i call my socket_create() function?