Re: [patch] ext3 deadlock fix

Pierre Lombard (pierre.lombard@imag.fr)
Wed, 18 Dec 2002 01:16:52 +0100


Hi,

* Andrew Morton <akpm@digeo.com> [2002-12-15 21:27]:

> The patch ensures that ->sync_fs is never run under lock_super().

> --- 24/Documentation/filesystems/Locking~sync_fs-fix Sun Dec 15 11:12:48 2002
> +++ 24-akpm/Documentation/filesystems/Locking Sun Dec 15 11:16:15 2002
> @@ -93,6 +93,7 @@ prototypes:
> void (*delete_inode) (struct inode *);
> void (*put_super) (struct super_block *);
> void (*write_super) (struct super_block *);
> + int (*sync_fs) (struct super_block *);
> int (*statfs) (struct super_block *, struct statfs *);
> int (*remount_fs) (struct super_block *, int *, char *);
> void (*clear_inode) (struct inode *);
> @@ -108,6 +109,7 @@ delete_inode: no
> clear_inode: no
> put_super: yes yes maybe (see below)
> write_super: yes yes maybe (see below)
> +write_super: yes no maybe (see below)
~~~~~~~~~~~
A small typo in the documentation.

> statfs: yes no no
> remount_fs: yes yes maybe (see below)
> umount_begin: yes no maybe (see below)

-- 
Best regards,
  Pierre

- 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/