summaryrefslogtreecommitdiffstats
path: root/fs
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-linus' of ↵Linus Torvalds2012-03-21144-881/+5012
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs Pull vfs pile 1 from Al Viro: "This is _not_ all; in particular, Miklos' and Jan's stuff is not there yet." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (64 commits) ext4: initialization of ext4_li_mtx needs to be done earlier debugfs-related mode_t whack-a-mole hfsplus: add an ioctl to bless files hfsplus: change finder_info to u32 hfsplus: initialise userflags qnx4: new helper - try_extent() qnx4: get rid of qnx4_bread/qnx4_getblk take removal of PF_FORKNOEXEC to flush_old_exec() trim includes in inode.c um: uml_dup_mmap() relies on ->mmap_sem being held, but activate_mm() doesn't hold it um: embed ->stub_pages[] into mmu_context gadgetfs: list_for_each_safe() misuse ocfs2: fix leaks on failure exits in module_init ecryptfs: make register_filesystem() the last potential failure exit ntfs: forgets to unregister sysctls on register_filesystem() failure logfs: missing cleanup on register_filesystem() failure jfs: mising cleanup on register_filesystem() failure make configfs_pin_fs() return root dentry on success configfs: configfs_create_dir() has parent dentry in dentry->d_parent configfs: sanitize configfs_create() ...
| * ext4: initialization of ext4_li_mtx needs to be done earlierAl Viro2012-03-201-2/+3
| | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * debugfs-related mode_t whack-a-moleAl Viro2012-03-202-2/+2
| | | | | | | | | | | | all of those should be umode_t... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * hfsplus: add an ioctl to bless filesMatthew Garrett2012-03-202-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | 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-206-9/+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>
| * 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-209-16/+18
| | | | | | | | | | | | 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>
| * 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>
| * kill reiserfs_fs_{i,sb}.hAl Viro2012-03-201-2/+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-2028-28/+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/+82
| | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * take private bits of reiserfs_xattr.h to fs/reiserfs/xattr.hAl Viro2012-03-2010-9/+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-206-15/+17
| | | | | | | | 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-2010-0/+1359
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-201-24/+0
| | | | | | | | | | | | 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-202-31/+13
| | | | | | | | 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>
| * hfsplus: switch to d_make_root()Al Viro2012-03-201-8/+9
| | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * fat: switch to d_make_root()Al Viro2012-03-201-4/+4
| | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * ntfs: switch to d_make_root()Al Viro2012-03-201-3/+4
| | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * switch open-coded instances of d_make_root() to new helperAl Viro2012-03-2053-200/+80
| | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * procfs: clean proc_fill_super() upAl Viro2012-03-201-4/+3
| | | | | | | | | | | | | | | | First of all, there's no need to zero ->i_uid/->i_gid on root inode - both had been set to zero already. Moreover, let's take the iput() on failure to the failure exit it belongs to... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
| * ... and the same failure exits cleanup for ocfs2Al Viro2012-03-201-6/+4
| | | | | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
OpenPOWER on IntegriCloud