xfs
[Top] [All Lists]

TAKE 981498 - refactor xfs_mount_free

To: sgi.bugs.xfs@xxxxxxxxxxxx, xfs@xxxxxxxxxxx
Subject: TAKE 981498 - refactor xfs_mount_free
From: lachlan@xxxxxxx (Lachlan McIlroy)
Date: Wed, 6 Aug 2008 15:38:08 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
refactor xfs_mount_free

xfs_mount_free mostly frees the perag data, which is something that
is duplicated in the mount error path.

Move the XFS_QM_DONE call to the caller and remove the useless
mutex_destroy/spinlock_destroy calls so that we can re-use it for
the mount error path.  Also rename it to xfs_free_perag to reflect what
it does.


Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Date:  Wed Aug  6 15:37:28 AEST 2008
Workarea:  redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-mm
Inspected by:  
hch
lachlan
Author:  lachlan

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:31836a
fs/xfs/xfs_mount.c - 1.444 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.c.diff?r1=text&tr1=1.444&r2=text&tr2=1.443&f=h
        - refactor xfs_mount_free




<Prev in Thread] Current Thread [Next in Thread>
  • TAKE 981498 - refactor xfs_mount_free, Lachlan McIlroy <=