lkml.org 
[lkml]   [2010]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 17/18] fs: split __inode_add_to_list
> 
> if (!list_empty(&inode->i_sb_list)) {
> - spin_lock(&inode->i_sb->s_inodes_lock);
> - list_del_init(&inode->i_sb_list);
> - spin_unlock(&inode->i_sb->s_inodes_lock);
> + inode_sb_list_del(inode);
> }

no need to keep the braces here.



\
 
 \ /
  Last update: 2010-10-13 17:11    [W:1.052 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site