lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080125144256.GC28856@atrey.karlin.mff.cuni.cz>
Date:	Fri, 25 Jan 2008 15:42:56 +0100
From:	Jan Kara <jack@...e.cz>
To:	Miklos Szeredi <miklos@...redi.hu>
Cc:	akpm@...ux-foundation.org, linux-fsdevel@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [patch 18/26] mount options: fix isofs

> From: Miklos Szeredi <mszeredi@...e.cz>
> 
> Add a .show_options super operation to isofs.
> 
> Use generic_show_options() and save the complete option string in
> isofs_fill_super().
> 
> Signed-off-by: Miklos Szeredi <mszeredi@...e.cz>
> ---
> 
> Index: linux/fs/isofs/inode.c
> ===================================================================
> --- linux.orig/fs/isofs/inode.c	2008-01-17 19:00:55.000000000 +0100
> +++ linux/fs/isofs/inode.c	2008-01-23 22:07:51.000000000 +0100
> @@ -110,6 +110,7 @@ static const struct super_operations iso
>  	.put_super	= isofs_put_super,
>  	.statfs		= isofs_statfs,
>  	.remount_fs	= isofs_remount,
> +	.show_options	= generic_show_options,
>  };
>  
>  
> @@ -554,6 +555,8 @@ static int isofs_fill_super(struct super
>  	int table, error = -EINVAL;
>  	unsigned int vol_desc_start;
>  
> +	save_mount_options(s, data);
> +
>  	sbi = kzalloc(sizeof(*sbi), GFP_KERNEL);
>  	if (!sbi)
>  		return -ENOMEM;
  Looks, fine.
  Acked-by: Jan Kara <jack@...e.cz>

										Honza
-- 
Jan Kara <jack@...e.cz>
SuSE CR Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ