GFS2: Use proper allocation context for new inodes
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 31 Oct 2012 10:30:22 +0000 (10:30 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 7 Nov 2012 13:32:42 +0000 (13:32 +0000)
Rather than using the parent directory's allocation context, this
patch allocated the new inode earlier in the process and then uses
it to contain all the information required. As a result, we can now
use the new inode's own allocation context to allocate it rather
than having to use the parent directory's context. This give us a
lot more flexibility in where the inode is placed on disk.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c

diff --cc fs/gfs2/inode.c
Simple merge