summaryrefslogtreecommitdiffstats
path: root/drivers/net/arcnet
diff options
context:
space:
mode:
authorCarlos Maiolino <cmaiolino@redhat.com>2012-09-20 10:32:38 -0300
committerBen Myers <bpm@sgi.com>2012-09-26 15:56:33 -0500
commit2d2194f61fddab3a9731b6e7a7ae3a4a19dd810c (patch)
treeaea773af614c823aad15ecd832b9061343a589bd /drivers/net/arcnet
parent08bf540412ed82a15cb9068249ad49b410a7b082 (diff)
downloadlinux-2d2194f61fddab3a9731b6e7a7ae3a4a19dd810c.tar.gz
linux-2d2194f61fddab3a9731b6e7a7ae3a4a19dd810c.tar.bz2
linux-2d2194f61fddab3a9731b6e7a7ae3a4a19dd810c.zip
xfs: reduce code duplication handling inode32/64 options
Add xfs_set_inode32() to be used to enable inode32 allocation mode. this will reduce the amount of duplicated code needed to mount/remount a filesystem with inode32 option. This patch also changes xfs_set_inode64() to return the maximum AG number that inodes can be allocated instead of set mp->m_maxagi by itself, so that the behaviour is the same as xfs_set_inode32(). This simplifies code that calls these functions and needs to know the maximum AG that inodes can be allocated in. Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'drivers/net/arcnet')
0 files changed, 0 insertions, 0 deletions