Adrian Bunk
2006-Jul-06 20:37 UTC
[Ocfs2-devel] [-mm patch] fs/ocfs2/inode.c:ocfs2_refresh_inode(): remove unused variable
On Mon, Jul 03, 2006 at 03:03:55AM -0700, Andrew Morton wrote:>... > Changes since 2.6.17-mm5: >... > +inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default.patch >... > Misc updates. >...This patch removes a no longer used variable. Signed-off-by: Adrian Bunk <bunk at stusta.de> --- linux-2.6.17-mm6-full/fs/ocfs2/inode.c.old 2006-07-06 21:10:23.000000000 +0200 +++ linux-2.6.17-mm6-full/fs/ocfs2/inode.c 2006-07-06 21:13:44.000000000 +0200 @@ -1163,8 +1163,6 @@ void ocfs2_refresh_inode(struct inode *inode, struct ocfs2_dinode *fe) { - struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); - spin_lock(&OCFS2_I(inode)->ip_lock); OCFS2_I(inode)->ip_clusters = le32_to_cpu(fe->i_clusters);
Mark Fasheh
2006-Jul-06 20:43 UTC
[Ocfs2-devel] [-mm patch] fs/ocfs2/inode.c:ocfs2_refresh_inode(): remove unused variable
On Thu, Jul 06, 2006 at 10:37:08PM +0200, Adrian Bunk wrote:> On Mon, Jul 03, 2006 at 03:03:55AM -0700, Andrew Morton wrote: > >... > > Changes since 2.6.17-mm5: > >... > > +inode-diet-eliminate-i_blksize-and-use-a-per-superblock-default.patch > >... > > Misc updates. > >... > > This patch removes a no longer used variable.Ahh, the osb was only used to set i_blksize, which of course the inode-diet patches removed. Looks fine to me - thanks Adrian. --Mark -- Mark Fasheh Senior Software Developer, Oracle mark.fasheh at oracle.com