login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
8
Re: [PATCH 14/38] fallthru: ext2 fallthru support
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Valerie Aurora
Subject:
Re: [PATCH 14/38] fallthru: ext2 fallthru support
Date: Sunday, August 8, 2010 - 9:40 am
On Fri, Aug 06, 2010 at 06:28:29PM -0600, Andreas Dilger wrote:
quoted text
> On 2010-08-06, at 16:35, Valerie Aurora wrote: > > XXX What to do for d_ino for fallthrus? If we return the inode from > > the the underlying file system, it comes from a different inode > > "namespace" and that will produce spurious matches. This argues for > > implementation of fallthrus as symlinks because they have to allocate > > an inode (and inode number) anyway, and we can later reuse it if we > > copy the file up. > > > > @@ -342,6 +344,24 @@ ext2_readdir (struct file * filp, void * dirent, + /* XXX We don't know the inode number > > + * of the directory entry in the > > + * underlying file system. Should > > + * look it up, either on fallthru > > + * creation at first readdir or now at > > + * filldir time. */ > > + over = filldir(dirent, de->name, de->name_len, > > + (n<<PAGE_CACHE_SHIFT) | offset, > > + 123 /* Made up ino */, d_type); > > I don't think it makes sense to use "123" for the inode number. This is a valid inode number, and almost certainly one that will be in use in most filesystems. One option for extN is to use EXT2_BAD_INO (1).
The next version (Subject: Union mounts - return d_ino from lower fs) fixed this. Take a look and tell me what you think? -VAL --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 00/38] VFS union mounts - Add MS_FALLTHRU
, Valerie Aurora
, (Fri Aug 6, 3:34 pm)
[PATCH 03/38] VFS: Add read-only users count to superblock
, Valerie Aurora
, (Fri Aug 6, 3:34 pm)
[PATCH 05/38] whiteout/NFSD: Don't return information abou ...
, Valerie Aurora
, (Fri Aug 6, 3:34 pm)
[PATCH 06/38] whiteout: Add vfs_whiteout() and whiteout in ...
, Valerie Aurora
, (Fri Aug 6, 3:34 pm)
[PATCH 07/38] whiteout: Set opaque flag if new directory w ...
, Valerie Aurora
, (Fri Aug 6, 3:34 pm)
[PATCH 09/38] whiteout: tmpfs whiteout support
, Valerie Aurora
, (Fri Aug 6, 3:34 pm)
[PATCH 10/38] whiteout: Split of ext2_append_link() from e ...
, Valerie Aurora
, (Fri Aug 6, 3:34 pm)
[PATCH 11/38] whiteout: ext2 whiteout support
, Valerie Aurora
, (Fri Aug 6, 3:34 pm)
[PATCH 12/38] whiteout: jffs2 whiteout support
, Valerie Aurora
, (Fri Aug 6, 3:34 pm)
[PATCH 13/38] fallthru: Basic fallthru definitions
, Valerie Aurora
, (Fri Aug 6, 3:34 pm)
[PATCH 14/38] fallthru: ext2 fallthru support
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 15/38] fallthru: jffs2 fallthru support
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 16/38] fallthru: tmpfs fallthru support
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 17/38] union-mount: Union mounts documentation
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 18/38] union-mount: Introduce MNT_UNION and MS_UNIO ...
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 19/38] union-mount: Introduce union_dir structure a ...
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 20/38] union-mount: Free union dirs on removal from ...
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 21/38] union-mount: Support for union mounting file ...
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 22/38] union-mount: Implement union lookup
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 23/38] union-mount: Call do_whiteout() on unlink an ...
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 25/38] VFS: Split inode_permission() and create pat ...
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 26/38] VFS: Create user_path_nd() to lookup both pa ...
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 27/38] union-mount: In-kernel file copyup routines
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 28/38] union-mount: Implement union-aware access()/ ...
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 29/38] union-mount: Implement union-aware link()
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 30/38] union-mount: Implement union-aware rename()
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 31/38] union-mount: Implement union-aware writable ...
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 32/38] union-mount: Implement union-aware chown()
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 33/38] union-mount: Implement union-aware truncate()
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 34/38] union-mount: Implement union-aware chmod()/f ...
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 35/38] union-mount: Implement union-aware lchown()
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 36/38] union-mount: Implement union-aware utimensat()
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 37/38] union-mount: Implement union-aware setxattr()
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
[PATCH 38/38] union-mount: Implement union-aware lsetxattr()
, Valerie Aurora
, (Fri Aug 6, 3:35 pm)
Re: [PATCH 05/38] whiteout/NFSD: Don't return information ...
, J. Bruce Fields
, (Fri Aug 6, 4:36 pm)
Re: [PATCH 14/38] fallthru: ext2 fallthru support
, Andreas Dilger
, (Fri Aug 6, 5:28 pm)
Re: [PATCH 14/38] fallthru: ext2 fallthru support
, Valerie Aurora
, (Sun Aug 8, 9:40 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Robin Lee Powell
NFS hang + umount -f: better behaviour requested.
Linus Torvalds
Linux 2.6.34-rc4
Nick Piggin
Re: dealing with barriers (was Re: [PATCH] firewire: fw-core: enforce write order ...
git
:
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Wink Saville
How-to combine several separate git repos?
Emily Ren
How to pull remote branch with specified commit id?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
frantisek holop
Re: splassert: vwakeup: and friends
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Timo Teräs
ip xfrm policy semantics
Ron Mercer
[net-next PATCH 2/2] qlge: Version change to v1.00.00.27
Maciej W. Rozycki
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
git-commits-head
:
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
[ARM] mmp: add dma support to mmp2
Linux Kernel Mailing List
bnx2x: Moving includes
Colocation donated by:
Syndicate