summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* hfsplus: add an ioctl to bless filesMatthew Garrett2012-03-203-0/+40
| | | | | | | | | | | | Making an hfsplus partition bootable requires the ability to "bless" a file by putting its inode number in the volume header. Doing this from userspace on a mounted filesystem is impractical since the kernel will write back the original values on unmount. Add an ioctl to allow userspace to update the volume header information based on the target file. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* hfsplus: change finder_info to u32Matthew Garrett2012-03-201-1/+1
| | | | | | | | | | The finder_info block in the hfsplus volume header is currently defined as an array of 8 bit values, but TN1150 defines it as being an array of 32 bit values. Fix for convenience. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* hfsplus: initialise userflagsMatthew Garrett2012-03-201-0/+2
| | | | | | | | | | The userflags field was being written to the filesystem without being initialised. Make sure it's clear, since otherwise files end up with garbage attributes. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* qnx4: new helper - try_extent()Al Viro2012-03-201-8/+15
| | | | | | | checking if an extent is the one we are looking for is done twice in qnx4_block_map(); gather that code into a helper function. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* qnx4: get rid of qnx4_bread/qnx4_getblkAl Viro2012-03-203-36/+3
| | | | | | | | pointless, since the only caller will want the physical block number anyway; might as well call qnx4_block_map() and use sb_bread() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* take removal of PF_FORKNOEXEC to flush_old_exec()Al Viro2012-03-207-10/+1
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* trim includes in inode.cAl Viro2012-03-201-11/+1
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* um: uml_dup_mmap() relies on ->mmap_sem being held, but activate_mm() ↵Al Viro2012-03-202-3/+10
| | | | | | | | doesn't hold it ... while calling uml_dup_mmap() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* um: embed ->stub_pages[] into mmu_contextAl Viro2012-03-202-19/+6
| | | | | | seriously, kmalloc() for two-element array of pointers? Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* gadgetfs: list_for_each_safe() misuseAl Viro2012-03-201-6/+3
| | | | | | | really weirdly spelled "while the list is non-empty, pick its first element, remove it from the list and free it" kind of loop... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* ocfs2: fix leaks on failure exits in module_initAl Viro2012-03-201-19/+21
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* ecryptfs: make register_filesystem() the last potential failure exitAl Viro2012-03-201-8/+8
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* ntfs: forgets to unregister sysctls on register_filesystem() failureAl Viro2012-03-201-0/+2
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* logfs: missing cleanup on register_filesystem() failureAl Viro2012-03-201-1/+4
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* jfs: mising cleanup on register_filesystem() failureAl Viro2012-03-201-1/+7
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* make configfs_pin_fs() return root dentry on successAl Viro2012-03-203-13/+11
| | | | | | ... and make configfs_mnt static Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* configfs: configfs_create_dir() has parent dentry in dentry->d_parentAl Viro2012-03-201-15/+5
| | | | | | no need to play sick games with parent item, internal mount, etc. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* configfs: sanitize configfs_create()Al Viro2012-03-201-28/+27
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* configfs: kill configfs_sbAl Viro2012-03-205-25/+26
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* configfs: don't bother with checks for mkdir/rmdir/unlink/symlink in rootAl Viro2012-03-204-15/+7
| | | | | | | just give root directory separate inode_operations without all those methods... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* __register_binfmt() made voidAl Viro2012-03-2012-23/+27
| | | | | | Just don't pass NULL to it - nobody does, anyway. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* autofs: set things up *before* registering fs typeAl Viro2012-03-201-3/+3
| | | | | | | it's not a serious race, but we really want misc device before anybody gets to mount this sucker. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* anon_inodes: move allocation of anon_inode into ->mount()Al Viro2012-03-201-53/+56
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* 9p: make register_filesystem() the last failure exitAl Viro2012-03-201-8/+8
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* usbfs: kill racy detection of simple_pin_fs()Al Viro2012-03-201-9/+1
| | | | | | can check MS_KERNMOUNT in flags now Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* make simple_pin_fs() pass MS_KERNMOUNT - it's a kernel-internal oneAl Viro2012-03-201-1/+1
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* ibmasmfs: make register_filesystem the last failure exitAl Viro2012-03-201-6/+5
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* spufs: make register_filesystem the last potential failure exitAl Viro2012-03-201-5/+5
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* kill reiserfs_fs_{i,sb}.hAl Viro2012-03-203-619/+597
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* move private bits of reiserfs_fs.h to fs/reiserfs/reiserfs.hAl Viro2012-03-2029-2362/+2354
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* kill pointless includes of reiserfs_fs_{i,sb}.hAl Viro2012-03-205-6/+0
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* move reiserfs_acl.h to fs/reiserfs/acl.hAl Viro2012-03-207-6/+6
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* take private bits of reiserfs_xattr.h to fs/reiserfs/xattr.hAl Viro2012-03-2011-137/+133
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* vfs: take path_get_longterm() out of write_seqcount scopeAl Viro2012-03-201-12/+15
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* no need to play with fs->seq in exit_fs()Al Viro2012-03-201-2/+0
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* switch touch_atime to struct pathAl Viro2012-03-208-19/+21
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* switch unix_sock to struct pathAl Viro2012-03-204-29/+19
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* constify path argument of trace_seq_path()Al Viro2012-03-202-3/+3
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* constify path argument of audit_log_d_path()Al Viro2012-03-202-2/+2
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* aio: fix the comment in aio_kick_handler()Al Viro2012-03-201-1/+1
| | | | | | | | | It should've been changed when queue_work() became queue_delayed_work(..., 0) in there. It's always had been about not needing a delay, not about not using specific function... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* aio: don't bother with cancel_delayed_work() in exit_aio()Al Viro2012-03-201-4/+0
| | | | | | __put_ioctx() will cover it anyway. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* aio: use cancel_delayed_work_sync()Al Viro2012-03-201-2/+1
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* aio: aio_nr_lock is taken only synchronously nowAl Viro2012-03-201-3/+3
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* aio: aio_nr decrements don't need to be delayedAl Viro2012-03-201-28/+14
| | | | | | | we can do that right in __put_ioctx(); as the result, the loop in ioctx_alloc() can be killed. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* aio: don't bother with async freeing on failure in ioctx_alloc()Al Viro2012-03-201-7/+5
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* fs: initial qnx6fs additionKai Bankett2012-03-2013-0/+1668
| | | | | | | | | | | | | | | | | | | | | | | Adds support for qnx6fs readonly support to the linux kernel. * Mount option The option mmi_fs can be used to mount Harman Becker/Audi MMI 3G HDD qnx6fs filesystems. * Documentation A high level filesystem stucture description can be found in the Documentation/filesystems directory. (qnx6.txt) * Additional features - Active (stable) superblock selection - Superblock checksum check (enforced) - Supports mount of qnx6 filesystems with to host different endianess - Automatic endianess detection - Longfilename support (with non-enfocing crc check) - All blocksizes (512, 1024, 2048 and 4096 supported) Signed-off-by: Kai Bankett <chaosman@ontika.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* qnx4fs: small cleanupKai Bankett2012-03-202-31/+0
| | | | | | | | | Small qnx4 cleanup patch. - removes .writepage, .write_begin and .write_end (+callback functions) - removes '.' path checking in namei.c (handled on upper layers) Signed-off-by: Kai Bankett <chaosman@ontika.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* vfs: d_alloc_root() goneAl Viro2012-03-203-25/+6
| | | | | | all callers converted to d_make_root() by now Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* tidy up after d_make_root() conversionAl Viro2012-03-206-53/+26
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
* minixfs: switch to d_make_root()Al Viro2012-03-201-16/+12
| | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
OpenPOWER on IntegriCloud