lkml.org 
[lkml]   [2009]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] ramfs: ignore tmpfs options when we emulate it
On Sun, Jun 14, 2009 at 06:42, Wu Fengguang wrote:
> On Sun, Jun 14, 2009 at 06:01:10PM +0800, Wu Fengguang wrote:
> Sorry I take back the previous patch. It makes sense to not break
> existing user space tools, but a warning message looks OK to remind
> people of possibly unexpected behavior.
>
> default:
> printk(KERN_ERR "ramfs: bad mount option: %s\n", p);
> - return -EINVAL;
> + break;

hmm, if the warning was wrapped in #ifdef CONFIG_SHMEM, i'd be ok with
this. otherwise we end up with warnings that can (should) be ignored
when tmpfs is being emulated with ramfs.
-mike


\
 
 \ /
  Last update: 2009-06-14 12:49    [W:0.061 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site