Christoph Hellwig
5ca2960733
knfsd: exportfs: remove iget abuse
...
When the exportfs interface was added the expectation was that filesystems
provide an operation to convert from a file handle to an inode/dentry, but it
kept a backwards compat option that still calls into iget.
Calling into iget from non-filesystem code is very bad, because it gives too
little information to filesystem, and simply crashes if the filesystem doesn't
implement the ->read_inode routine.
Fortunately there are only two filesystems left using this fallback: efs and
jfs. This patch moves a copy of export_iget to each of those to implement the
get_dentry method.
While this is a temporary increase of lines of code in the kernel it allows
for a much cleaner interface and important code restructuring in later
patches.
[akpm@linux-foundation.org: add jfs_get_inode_flags() declaration]
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-17 10:23:06 -07:00
..
2007-07-12 15:41:24 -07:00
2007-07-14 20:47:26 -07:00
2007-07-10 22:18:17 -07:00
2007-07-10 22:16:55 -07:00
2007-07-13 08:06:17 -07:00
2007-07-17 10:23:05 -07:00
2007-07-12 16:29:50 -07:00
2007-07-11 16:02:08 -07:00
2007-07-13 08:06:14 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:52 -07:00
2007-07-17 10:23:02 -07:00
2007-07-16 08:52:47 +02:00
2007-07-16 09:05:51 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:46 -07:00
2007-07-16 09:05:48 -07:00
2007-07-17 10:23:04 -07:00
2007-07-11 20:58:54 +08:00
2007-07-11 16:09:00 -07:00
2007-07-11 16:09:06 -07:00
2007-07-16 09:05:45 -07:00
2007-07-13 08:06:13 -07:00
2007-07-11 16:09:00 -07:00
2007-07-16 09:05:42 -07:00
2007-07-12 10:55:56 -07:00
2007-07-17 10:23:06 -07:00
2007-07-10 22:16:21 -07:00
2007-07-14 19:07:52 -07:00
2007-07-17 10:23:06 -07:00
2007-07-16 09:05:52 -07:00
2007-07-16 09:05:52 -07:00
2007-07-16 09:05:52 -07:00
2007-07-16 09:05:45 -07:00
2007-07-17 10:23:02 -07:00
2007-07-17 10:23:06 -07:00
2007-07-17 10:23:05 -07:00
2007-07-16 09:05:41 -07:00
2007-07-16 08:52:46 +02:00
2007-07-17 10:22:59 -07:00
2007-07-17 10:22:59 -07:00
2007-07-16 09:05:45 -07:00
2007-07-17 10:22:59 -07:00
2007-07-12 14:12:29 +02:00
2007-07-16 09:05:41 -07:00
2007-07-16 09:05:34 -07:00
2007-07-12 16:07:26 -04:00
2007-07-10 22:15:03 -07:00
2007-07-14 18:55:06 -07:00
2007-07-10 22:15:58 -07:00
2007-07-10 22:15:58 -07:00
2007-07-10 22:15:58 -07:00
2007-07-10 22:16:42 -07:00
2007-07-14 18:53:28 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:47 -07:00
2007-07-10 22:56:31 -07:00
2007-07-10 22:16:44 -07:00
2007-07-16 09:05:46 -07:00
2007-07-17 10:23:03 -07:00
2007-07-16 09:05:46 -07:00
2007-07-17 10:23:02 -07:00
2007-07-17 10:23:05 -07:00
2007-07-11 16:09:08 -07:00
2007-07-10 22:15:26 -07:00
2007-07-16 09:05:42 -07:00
2007-07-17 10:23:03 -07:00
2007-07-16 09:05:34 -07:00
2007-07-17 10:22:59 -07:00
2007-07-17 10:23:02 -07:00
2007-07-17 10:22:59 -07:00
2007-07-16 09:05:48 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:51 -07:00
2007-07-16 14:31:08 -07:00
2007-07-10 22:18:21 -07:00
2007-07-16 09:05:48 -07:00
2007-07-13 10:52:27 -07:00
2007-07-16 09:05:40 -07:00
2007-07-16 09:05:41 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:48 -07:00
2007-07-11 19:46:26 -07:00
2007-07-10 22:16:22 -07:00
2007-07-11 16:09:02 -07:00
2007-07-16 09:05:50 -07:00
2007-07-16 09:05:46 -07:00
2007-07-16 09:05:39 -07:00
2007-07-17 10:23:03 -07:00
2007-07-10 22:15:40 -07:00
2007-07-16 09:05:47 -07:00
2007-07-12 10:55:54 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:50 -07:00
2007-07-11 22:52:29 -04:00
2007-07-16 09:05:35 -07:00
2007-07-17 10:23:03 -07:00
2007-07-16 09:05:35 -07:00
2007-07-12 14:12:31 +02:00
2007-07-16 09:05:42 -07:00
2007-07-15 16:40:51 -07:00
2007-07-17 10:23:01 -07:00
2007-07-17 10:23:01 -07:00
2007-07-16 09:05:36 -07:00
2007-07-17 10:23:01 -07:00
2007-07-16 09:05:42 -07:00
2007-07-16 09:05:45 -07:00
2007-07-16 09:05:46 -07:00
2007-07-16 09:05:40 -07:00
2007-07-17 10:22:59 -07:00
2007-07-11 16:09:06 -07:00
2007-07-11 16:09:09 -07:00
2007-07-16 09:05:46 -07:00
2007-07-17 10:23:03 -07:00
2007-07-16 09:05:45 -07:00
2007-07-13 10:11:52 -07:00
2007-07-16 09:05:47 -07:00
2007-07-10 22:15:57 -07:00
2007-07-16 09:05:45 -07:00
2007-07-12 16:34:42 -07:00
2007-07-12 16:34:40 -07:00
2007-07-16 09:05:47 -07:00
2007-07-16 09:05:48 -07:00
2007-07-17 10:22:59 -07:00
2007-07-16 09:05:51 -07:00