From: Theodore Ts'o Date: Tue, 16 Sep 2008 18:36:17 +0000 (-0400) Subject: jbd2: clean up how the journal device name is printed X-Git-Tag: v2.6.28-rc1~709^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05496769e5da83ce22ed97345afd9c7b71d6bd24;p=pandora-kernel.git jbd2: clean up how the journal device name is printed Calculate the journal device name once and stash it away in the journal_s structure. This avoids needing to call bdevname() everywhere and reduces stack usage by not needing to allocate an on-stack buffer. In addition, we eliminate the '/' that can appear in device names (e.g. "cciss/c0d0p9" --- see kernel bugzilla #11321) that can cause problems when creating proc directory names, and include the inode number to support ocfs2 which creates multiple journals with different inode numbers. Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed