Messages in this thread Patch in this message | | | Date | Sun, 7 Nov 2004 16:23:37 +0000 (GMT) | From | Hugh Dickins <> | Subject | [PATCH] mount no tmpfs confusion |
| |
My tmpfs superblock changes in 2.6.9 messed up mount -t tmpfs when CONFIG_TMPFS is not enabled: it wrongly claimed to succeed, and left the directory unusable, giving "Not a directory" errors thereafter.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
--- 2.6.10-rc1/mm/shmem.c 2004-10-23 12:44:13.000000000 +0100 +++ linux/mm/shmem.c 2004-11-07 11:50:53.894426456 +0000 @@ -1930,6 +1930,8 @@ static int shmem_fill_super(struct super sbinfo->free_inodes = inodes; } sb->s_xattr = shmem_xattr_handlers; +#else + sb->s_flags |= MS_NOUSER; #endif sb->s_maxbytes = SHMEM_MAX_BYTES; - 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/
| |