#define BAD_ENGLISH
I am not a kernel hacker but I think we can get rid of strlen(name).
Based on lib/vsprintf.c we can do:
this.len = sprintf(name, "%lu", inode->i_ino);
this.name = name;
I don't like noise while listening to my favorites songs :)
- Diogo Zulli
-- Phone: (19) 9717 2769 - ICQ 66904917 - diogo@dglnet.com.br -----
-- Fingerprint: 6B51 2DE1 419A DADD 8A5F 30D3 D337 DF37 2B95 43E3
-- http://sourceware.gsek.com.br/sphynx/ --------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/