diff options
author | Christoph Hellwig <hch@lst.de> | 2008-02-25 18:58:36 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-03-31 10:41:17 +0100 |
commit | 7dc2cf1c8ffbd471722f1aa479bc68d4df1c9edc (patch) | |
tree | 68a9aca21c277db3d5223a12b61600b8a33bd7c0 /fs/gfs2/trans.c | |
parent | 9b8c81d1de49943ec69d157234b8981008c30d31 (diff) | |
download | linux-7dc2cf1c8ffbd471722f1aa479bc68d4df1c9edc.tar.gz linux-7dc2cf1c8ffbd471722f1aa479bc68d4df1c9edc.tar.bz2 linux-7dc2cf1c8ffbd471722f1aa479bc68d4df1c9edc.zip |
[GFS2] fix file_system_type leak on gfs2meta mount
get_gfs2_sb does a get_fs_type without doing a put_filesystem and
thus leaking a file_system_type reference everytime it's called.
Just use gfs2_fs_type directly instead of doing the lookup and thus
fix the problem.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/trans.c')
0 files changed, 0 insertions, 0 deletions