summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/acl.c
diff options
context:
space:
mode:
authorSteven Whitehouse2011-11-22 13:18:51 +0100
committerSteven Whitehouse2011-11-22 13:18:51 +0100
commit6a8099ed5677ac1bb2c74b74a31fecb8282f56c2 (patch)
treea6baa1fa5a8a9f140b76210fb5f8eb3fb68906c5 /fs/gfs2/acl.c
parentGFS2: decouple quota allocations from block allocations (diff)
downloadkernel-qcow2-linux-6a8099ed5677ac1bb2c74b74a31fecb8282f56c2.tar.gz
kernel-qcow2-linux-6a8099ed5677ac1bb2c74b74a31fecb8282f56c2.tar.xz
kernel-qcow2-linux-6a8099ed5677ac1bb2c74b74a31fecb8282f56c2.zip
GFS2: Fix multi-block allocation
Clean up gfs2_alloc_blocks so that it takes the full extent length rather than just the number of non-inode blocks as an argument. That will only make a difference in the inode allocation case for now. Also, this fixes the extent length handling around gfs2_alloc_extent() so that multi block allocations will work again. The rd_last_alloc block is set to the final block in the allocated extent (as per the update to i_goal, but referenced to a different start point). This also removes the dinode argument to rgblk_search() which is no longer used. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/acl.c')
0 files changed, 0 insertions, 0 deletions