Christoph Hellwig
6e91ea2bb0
exportfs: add fid type
...
This patchset is a medium scale rewrite of the export operations interface.
The goal is to make the interface less complex, and easier to understand from
the filesystem side, aswell as preparing generic support for exporting of
64bit inode numbers.
This touches all nfs exporting filesystems, and I've done testing on all of
the filesystems I have here locally (xfs, ext2, ext3, reiserfs, jfs)
This patch:
Add a structured fid type so that we don't have to pass an array of u32 values
around everywhere. It's a union of possible layouts.
As a start there's only the u32 array and the traditional 32bit inode format,
but there will be more in one of my next patchset when I start to document the
various filehandle formats we have in lowlevel filesystems better.
Also add an enum that gives the various filehandle types human- readable
names.
Note: Some people might think the struct containing an anonymous union is
ugly, but I didn't want to pass around a raw union type.
Signed-off-by: Christoph Hellwig <[email protected] >
Cc: Neil Brown <[email protected] >
Cc: "J. Bruce Fields" <[email protected] >
Cc: <[email protected] >
Cc: Dave Kleikamp <[email protected] >
Cc: Anton Altaparmakov <[email protected] >
Cc: David Chinner <[email protected] >
Cc: Timothy Shimmin <[email protected] >
Cc: OGAWA Hirofumi <[email protected] >
Cc: Hugh Dickins <[email protected] >
Cc: Chris Mason <[email protected] >
Cc: Jeff Mahoney <[email protected] >
Cc: "Vladimir V. Saveliev" <[email protected] >
Cc: Steven Whitehouse <[email protected] >
Cc: Mark Fasheh <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2007-10-22 08:13:19 -07:00
..
9p
9p: fix bad kconfig cross-dependency
2007-10-17 14:31:07 -05:00
adfs
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
affs
fs: mark nibblemap const
2007-10-17 08:42:47 -07:00
afs
KEYS: Make request_key() and co fundamentally asynchronous
2007-10-17 08:42:57 -07:00
autofs
Use task_pid_nr() instead of pid_nr(task_pid())
2007-10-19 11:53:43 -07:00
autofs4
pid namespaces: round up the API
2007-10-19 11:53:37 -07:00
befs
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
bfs
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
cifs
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6
2007-10-19 12:00:58 -07:00
coda
pid namespaces: round up the API
2007-10-19 11:53:37 -07:00
configfs
r/o bind mounts: filesystem helpers for custom 'struct file's
2007-10-17 08:43:04 -07:00
cramfs
fs/cramfs/inode.c: replace hardcoded value with preprocessor constant
2007-10-18 14:37:29 -07:00
debugfs
[PATCH] pass dentry to audit_inode()/audit_inode_child()
2007-10-21 02:37:18 -04:00
devpts
dlm
Use helpers to obtain task pid in printks
2007-10-19 11:53:43 -07:00
ecryptfs
ecryptfs: allow lower fs to interpret ATTR_KILL_S*ID
2007-10-18 14:37:21 -07:00
efs
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
exportfs
exportfs: add fid type
2007-10-22 08:13:19 -07:00
ext2
ext2: avoid rec_len overflow with 64KB block size
2007-10-22 08:13:18 -07:00
ext3
JBD: Fix JBD warnings when compiling with CONFIG_JBD_DEBUG
2007-10-19 11:53:35 -07:00
ext4
ext4: lighten up resize transaction requirements
2007-10-17 18:50:04 -04:00
fat
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
freevxfs
mm: Remove slab destructors from kmem_cache_create().
2007-07-20 10:11:58 +09:00
fuse
fuse: add blksize field to fuse_attr
2007-10-18 14:37:31 -07:00
gfs2
fs: correct SuS compliance for open of large file without options
2007-10-17 08:43:01 -07:00
hfs
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
hfsplus
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
hostfs
uml: fix hostfs style
2007-10-16 09:43:07 -07:00
hpfs
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
hppfs
hugetlbfs
r/o bind mounts: filesystem helpers for custom 'struct file's
2007-10-17 08:43:04 -07:00
isofs
Convert files to UTF-8 and some cleanups
2007-10-19 23:21:04 +02:00
jbd
JBD: Fix JBD warnings when compiling with CONFIG_JBD_DEBUG
2007-10-19 11:53:35 -07:00
jbd2
JBD2: debug code cleanup.
2007-10-17 18:49:59 -04:00
jffs2
Use helpers to obtain task pid in printks
2007-10-19 11:53:43 -07:00
jfs
Fix misspellings of "system", "controller", "interrupt" and "necessary".
2007-10-19 23:10:43 +02:00
lockd
NFS/SUNRPC: use transport protocol naming
2007-10-09 17:17:53 -04:00
minix
limit minixfs printks on corrupted dir i_size
2007-10-17 08:42:53 -07:00
msdos
ncpfs
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
nfs
NFS: Fix a typo in nfs_call_unlink()
2007-10-21 13:37:07 -04:00
nfs_common
nfsd
exportfs: add fid type
2007-10-22 08:13:19 -07:00
nls
sparse pointer use of zero as null
2007-10-18 14:37:31 -07:00
ntfs
fix typo "insted" -> "instead"
2007-10-20 01:55:04 +02:00
ocfs2
Fix misspellings of "system", "controller", "interrupt" and "necessary".
2007-10-19 23:10:43 +02:00
openpromfs
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
partitions
fs/partitions/sun.c endianness annotations
2007-10-14 12:41:51 -07:00
proc
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched
2007-10-19 12:07:03 -07:00
qnx4
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
ramfs
Remove valueless definition of hard-selected RAMFS option
2007-10-17 08:42:56 -07:00
reiserfs
Fix misspellings of "system", "controller", "interrupt" and "necessary".
2007-10-19 23:10:43 +02:00
romfs
fs/romfs/inode.c: trivial improvements
2007-10-17 08:42:47 -07:00
smbfs
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
sysfs
sysfs: trivial: fix sysfs_create_file kerneldoc spelling mistake
2007-10-20 03:14:32 +02:00
sysv
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
udf
fs/udf/balloc.c: mark a variable as uninitialized_var()
2007-10-17 08:43:00 -07:00
ufs
ufs: Fix mount check in ufs_fill_super()
2007-10-17 08:42:51 -07:00
vfat
xfs
[XFS] cleanup fid types mess
2007-10-19 18:02:55 +10:00
aio.c
Remove struct task_struct::io_wait
2007-10-18 14:37:20 -07:00
anon_inodes.c
anon-inodes use open coded atomic_inc for the shared inode
2007-10-17 08:43:00 -07:00
attr.c
VFS: make notify_change pass ATTR_KILL_S*ID to setattr operations
2007-10-18 14:37:22 -07:00
bad_inode.c
sendfile: remove bad_sendfile() from bad_file_ops
2007-07-10 08:04:15 +02:00
binfmt_aout.c
core_pattern: ignore RLIMIT_CORE if core_pattern is a pipe
2007-10-17 08:42:50 -07:00
binfmt_elf.c
pid namespaces: changes to show virtual ids to user
2007-10-19 11:53:40 -07:00
binfmt_elf_fdpic.c
pid namespaces: changes to show virtual ids to user
2007-10-19 11:53:40 -07:00
binfmt_em86.c
Convert files to UTF-8 and some cleanups
2007-10-19 23:21:04 +02:00
binfmt_flat.c
binfmt_flat: warning fixes
2007-10-17 08:42:54 -07:00
binfmt_misc.c
Convert files to UTF-8 and some cleanups
2007-10-19 23:21:04 +02:00
binfmt_script.c
Convert files to UTF-8 and some cleanups
2007-10-19 23:21:04 +02:00
binfmt_som.c
core_pattern: ignore RLIMIT_CORE if core_pattern is a pipe
2007-10-17 08:42:50 -07:00
bio.c
bio: make freeing of ->bi_io_vec conditional in bio_free()
2007-10-16 11:03:52 +02:00
block_dev.c
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
buffer.c
nobh: nobh_write_end fix
2007-10-21 08:54:05 -07:00
char_dev.c
mm: bdi init hooks
2007-10-17 08:42:45 -07:00
compat.c
mm: variable length argument support
2007-07-19 10:04:45 -07:00
compat_ioctl.c
sparse pointer use of zero as null
2007-10-18 14:37:31 -07:00
dcache.c
dcache: don't expose uninitialized memory in /proc/<pid>/fd/<fd>
2007-10-22 08:13:18 -07:00
dcookies.c
Remove fs.h from mm.h
2007-07-29 17:09:29 -07:00
direct-io.c
remove ZERO_PAGE
2007-10-16 09:42:53 -07:00
dnotify.c
mm: Remove slab destructors from kmem_cache_create().
2007-07-20 10:11:58 +09:00
dquot.c
quota: send messages via netlink
2007-10-17 08:42:56 -07:00
drop_caches.c
invalidate_mapping_pages(): add cond_resched
2007-07-16 09:05:36 -07:00
eventfd.c
eventfd use waitqueue lock ...
2007-05-18 13:09:34 -07:00
eventpoll.c
fs/eventpoll.c: use list_for_each_entry() instead of list_for_each()
2007-10-19 11:53:38 -07:00
exec.c
Isolate some explicit usage of task->tgid
2007-10-19 11:53:40 -07:00
fcntl.c
pid namespaces: changes to show virtual ids to user
2007-10-19 11:53:40 -07:00
fifo.c
Detach sched.h from mm.h
2007-05-21 09:18:19 -07:00
file.c
file_table.c
fs/file_table.c: use list_for_each_entry() instead of list_for_each()
2007-10-19 11:53:38 -07:00
filesystems.c
fs-writeback.c
Use helpers to obtain task pid in printks
2007-10-19 11:53:43 -07:00
generic_acl.c
Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid check
2007-07-17 12:00:03 -07:00
inode.c
introduce I_SYNC
2007-10-17 08:43:02 -07:00
inotify.c
[PATCH] new helper - inotify_evict_watch()
2007-10-21 02:37:38 -04:00
inotify_user.c
change inotifyfs magic as the same magic is used for futexfs
2007-10-17 08:43:00 -07:00
internal.h
ioctl.c
drop obsolete sys_ioctl export
2007-07-16 09:05:48 -07:00
ioprio.c
Uninline find_task_by_xxx set of functions
2007-10-19 11:53:40 -07:00
Kconfig
jbd: config_jbd_debug cannot create /proc entry
2007-10-19 11:53:35 -07:00
Kconfig.binfmt
fs: Kill sh dependency for binfmt_flat.
2007-05-21 14:34:00 +09:00
libfs.c
make fs/libfs.c:simple_commit_write() static
2007-10-17 08:42:53 -07:00
locks.c
Slab API: remove useless ctor parameter and reorder parameters
2007-10-17 08:42:45 -07:00
Makefile
Remove valueless definition of hard-selected RAMFS option
2007-10-17 08:42:56 -07:00
mbcache.c
mm: Remove slab destructors from kmem_cache_create().
2007-07-20 10:11:58 +09:00
mpage.c
mm: buffered write cleanup
2007-10-16 09:42:54 -07:00
namei.c
[PATCH] pass dentry to audit_inode()/audit_inode_child()
2007-10-21 02:37:18 -04:00
namespace.c
[PATCH] new helpers - collect_mounts() and release_collected_mounts()
2007-10-21 02:37:25 -04:00
nfsctl.c
nfsctl: use vfs_path_lookup
2007-07-19 10:04:45 -07:00
no-block.c
open.c
[PATCH] pass dentry to audit_inode()/audit_inode_child()
2007-10-21 02:37:18 -04:00
pipe.c
sched: affine sync wakeups
2007-10-15 17:00:19 +02:00
pnode.c
pnode.h
[PATCH] new helpers - collect_mounts() and release_collected_mounts()
2007-10-21 02:37:25 -04:00
posix_acl.c
quota.c
[IA64] Fix build failure in fs/quota.c
2007-07-27 15:40:13 -07:00
quota_v1.c
quota_v2.c
read_write.c
Cleanup macros for distinguishing mandatory locks
2007-10-09 18:32:46 -04:00
read_write.h
readdir.c
select.c
fs/select, remove unused macros
2007-10-19 11:53:41 -07:00
seq_file.c
[FS] seq_file: Introduce the seq_open_private()
2007-10-10 16:55:33 -07:00
signalfd.c
rename signalfd_siginfo fields
2007-10-17 08:43:01 -07:00
splice.c
Implement file posix capabilities
2007-10-17 08:43:07 -07:00
stack.c
stat.c
super.c
Convert files to UTF-8 and some cleanups
2007-10-19 23:21:04 +02:00
sync.c
Introduce fixed sys_sync_file_range2() syscall, implement on PowerPC and ARM
2007-06-28 11:38:30 -07:00
timerfd.c
make timerfd return a u64 and fix the __put_user
2007-07-26 11:35:17 -07:00
utimes.c
VFS: check nanoseconds in utimensat
2007-10-17 08:42:52 -07:00
xattr.c
[PATCH] pass dentry to audit_inode()/audit_inode_child()
2007-10-21 02:37:18 -04:00
xattr_acl.c