lkml.org 
[lkml]   [2006]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: + r-o-bind-mount-clean-up-ocfs2-nlink-handling.patch added to -mm tree
From
Date
On Wed, 2006-08-09 at 12:12 -0700, akpm@osdl.org wrote:

> - /* We can set nlink on the dinode now. clear the saved version
> - * so that it doesn't get set later. */
> + if (S_ISDIR(inode->i_mode))
> + drop_nlink(inode);
> + drop_nlink(inode);
> fe->i_links_count = cpu_to_le16(inode->i_nlink);
> - saved_nlink = 0;
>
> status = ocfs2_journal_dirty(handle, fe_bh);


There's one too many drop_nlink()'s in this block, unless I'm not
reading this right.

Daniel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-10 15:59    [W:0.031 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site