]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 31 Oct 2012 10:30:22 +0000 (10:30 +0000)
commit066d27dbbfb17eb8be41f2208163bc692070d236
treef82e0b8a0a940dbc836668ebb2412a3083395bab
parente9c217b737708dc481934fd73dc00d3ddabcfab2
GFS2: Use proper allocation context for new inodes

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