xfs-masters
[Top] [All Lists]

[Bug 48651] New: 'xfs_uuid_table' allocated in xfs_uuid_mount() is never

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 48651] New: 'xfs_uuid_table' allocated in xfs_uuid_mount() is never freed
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 9 Oct 2012 12:41:13 +0000 (UTC)
Auto-submitted: auto-generated
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@xxxxxxxxxxx
        ReportedBy: eugene.shatokhin@xxxxxxxxxx
        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.

<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 48651] New: 'xfs_uuid_table' allocated in xfs_uuid_mount() is never freed, bugzilla-daemon <=