kernel_optimize_test/fs/gfs2
Steven Whitehouse 71f890f7f7 GFS2: Remove rs_requested field from reservations
The rs_requested field is left over from the original allocation
code, however this should have been a parameter passed to the
various functions from gfs2_inplace_reserve() and not a member of the
reservation structure as the value is not required after the
initial allocation.

This also helps simplify the code since we no longer need to set
the rs_requested to zero. Also the gfs2_inplace_release()
function can also be simplified since the reservation structure
will always be defined when it is called, and the only remaining
task is to unlock the rgrp if required. It can also now be
called unconditionally too, resulting in a further simplification.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2012-09-24 10:46:54 +01:00
..
acl.c
acl.h
aops.c GFS2: Remove rs_requested field from reservations 2012-09-24 10:46:54 +01:00
bmap.c GFS2: Reduce file fragmentation 2012-07-19 14:51:08 +01:00
bmap.h
dentry.c stop passing nameidata * to ->d_revalidate() 2012-07-14 16:34:14 +04:00
dir.c GFS2: Fold quota data into the reservations struct 2012-06-06 11:20:22 +01:00
dir.h
export.c ->encode_fh() API change 2012-05-29 23:28:33 -04:00
file.c GFS2: Remove rs_requested field from reservations 2012-09-24 10:46:54 +01:00
gfs2.h
glock.c GFS2: Size seq_file buffer more carefully 2012-06-11 13:49:47 +01:00
glock.h
glops.c
glops.h
incore.h GFS2: Remove rs_requested field from reservations 2012-09-24 10:46:54 +01:00
inode.c GFS2: Remove rs_requested field from reservations 2012-09-24 10:46:54 +01:00
inode.h
Kconfig
lock_dlm.c
log.c
log.h
lops.c GFS2: Fix error handling when reading an invalid block from the journal 2012-06-06 11:27:49 +01:00
lops.h
main.c GFS2: Fold quota data into the reservations struct 2012-06-06 11:20:22 +01:00
Makefile
meta_io.c gfs2: nuke pdflush from comments 2012-08-04 12:15:40 +04:00
meta_io.h
ops_fstype.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw 2012-07-24 17:57:05 -07:00
quota.c GFS2: Remove rs_requested field from reservations 2012-09-24 10:46:54 +01:00
quota.h quota: Split dquot_quota_sync() to writeback and cache flushing part 2012-07-22 23:58:19 +04:00
recovery.c
recovery.h
rgrp.c GFS2: Remove rs_requested field from reservations 2012-09-24 10:46:54 +01:00
rgrp.h GFS2: Remove rs_requested field from reservations 2012-09-24 10:46:54 +01:00
super.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw 2012-07-24 17:57:05 -07:00
super.h
sys.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw 2012-07-24 17:57:05 -07:00
sys.h
trace_gfs2.h GFS2: Reduce file fragmentation 2012-07-19 14:51:08 +01:00
trans.c gfs2: Convert to new freezing mechanism 2012-07-31 09:45:50 +04:00
trans.h GFS2: Remove rs_requested field from reservations 2012-09-24 10:46:54 +01:00
util.c
util.h GFS2: Fix error handling when reading an invalid block from the journal 2012-06-06 11:27:49 +01:00
xattr.c GFS2: Remove rs_requested field from reservations 2012-09-24 10:46:54 +01:00
xattr.h