linux-hardened/fs/ramfs
Christoph Hellwig 85fe4025c6 fs: do not assign default i_ino in new_inode
Instead of always assigning an increasing inode number in new_inode
move the call to assign it into those callers that actually need it.
For now callers that need it is estimated conservatively, that is
the call is added to all filesystems that do not assign an i_ino
by themselves.  For a few more filesystems we can avoid assigning
any inode number given that they aren't user visible, and for others
it could be done lazily when an inode number is actually needed,
but that's left for later patches.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-10-25 21:26:11 -04:00
..
file-mmu.c fs: convert simple fs to new truncate 2010-05-27 22:15:47 -04:00
file-nommu.c check ATTR_SIZE contraints in inode_change_ok 2010-08-09 16:47:39 -04:00
inode.c fs: do not assign default i_ino in new_inode 2010-10-25 21:26:11 -04:00
internal.h fs/ramfs/ extern cleanup 2008-04-29 08:06:00 -07:00
Makefile Remove valueless definition of hard-selected RAMFS option 2007-10-17 08:42:56 -07:00