[xfs-masters] [Bug 48651] New: 'xfs_uuid_table' allocated in xfs_uuid_mount() is never freed

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Oct 9 07:41:13 CDT 2012


https://bugzilla.kernel.org/show_bug.cgi?id=48651

           Summary: 'xfs_uuid_table' allocated in xfs_uuid_mount() is
                    never freed
           Product: File System
           Version: 2.5
    Kernel Version: 3.6
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: XFS
        AssignedTo: xfs-masters at oss.sgi.com
        ReportedBy: eugene.shatokhin at rosalab.ru
        Regression: No


The memory for 'xfs_uuid_table' is allocated in xfs_uuid_mount() but is never
freed (see xfs_mount.c).

Not sure where exactly it is appropriate to call kmem_free() for it. Perhaps, -
in the exit-function of XFS kernel module or when the table becomes empty?

Found this problem with the memory leak detector from KEDR Framework when
running xfstests suite.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the xfs-masters mailing list