lkml.org 
[lkml]   [2010]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Introduce freeze_super and thaw_super for the fsfreeze ioctl
On Tue, Mar 23, 2010 at 03:12:46PM +0000, Al Viro wrote:
> On Tue, Mar 23, 2010 at 03:09:23PM +0000, Al Viro wrote:
> > On Tue, Mar 23, 2010 at 11:03:01AM -0400, Josef Bacik wrote:
> > > > sb is an active reference
> > > >
> > >
> > > I don't understand how this is an active reference? We are talking about
> > > s_active right?
> >
> > It's an opened file, for crying out loud! If there is anything that makes
> > sure that superblock will stay alive, that is it...

Grr... Make that "is alive and can be aliased without any problems, so
atomic_inc(sb->s_active) in caller would do just fine."


\
 
 \ /
  Last update: 2010-03-23 16:19    [W:0.071 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site