lkml.org 
[lkml]   [2004]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] lockfs patch for 2.6
On Sun, Mar 14, 2004 at 10:44:39AM -0800, Andrew Morton wrote:
> > + * This takes the block device bd_mount_sem to make sure no new mounts
> > + * happen on bdev until unlockfs is called. If a super is found on this
> > + * block device, we hould a read lock on the s->s_umount sem to make sure
> > + * nobody unmounts until the snapshot creation is done
> > + */
> > +struct super_block *freeze_bdev(struct block_device *bdev)
>
> I think you do need s_umount, as the comments say. But this patch doesn't
> touch it.

get_super takes it for us.

-
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: 2005-03-22 14:01    [W:0.053 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site