aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3/super.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-31 16:42:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-31 16:42:57 -0400
commit8bb1f229527dee95644e0f8496980bb767c6f620 (patch)
tree511551e9772f11f855bd5b759b6d449da47e8820 /fs/ext3/super.c
parentf22e08a79f3765fecf060b225a46931c94fb0a92 (diff)
parentc0d0259481cc6ec2a38cad810055e455de35c733 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull second try at vfs part d#2 from Al Viro: "Miklos' first series (with do_lookup() rewrite split into edible chunks) + assorted bits and pieces. The 'untangling of do_lookup()' series is is a splitup of what used to be a monolithic patch from Miklos, so this series is basically "how do I convince myself that his patch is correct (or find a hole in it)". No holes found and I like the resulting cleanup, so in it went..." Changes from try 1: Fix a boot problem with selinux, and commit messages prettied up a bit. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (24 commits) vfs: fix out-of-date dentry_unhash() comment vfs: split __lookup_hash untangling do_lookup() - take __lookup_hash()-calling case out of line. untangling do_lookup() - switch to calling __lookup_hash() untangling do_lookup() - merge d_alloc_and_lookup() callers untangling do_lookup() - merge failure exits in !dentry case untangling do_lookup() - massage !dentry case towards __lookup_hash() untangling do_lookup() - get rid of need_reval in !dentry case untangling do_lookup() - eliminate a loop. untangling do_lookup() - expand the area under ->i_mutex untangling do_lookup() - isolate !dentry stuff from the rest of it. vfs: move MAY_EXEC check from __lookup_hash() vfs: don't revalidate just looked up dentry vfs: fix d_need_lookup/d_revalidate order in do_lookup ext3: move headers to fs/ext3/ migrate ext2_fs.h guts to fs/ext2/ext2.h new helper: ext2_image_size() get rid of pointless includes of ext2_fs.h ext2: No longer export ext2_fs.h to user space mtdchar: kill persistently held vfsmount ...
Diffstat (limited to 'fs/ext3/super.c')
-rw-r--r--fs/ext3/super.c18
1 files changed, 4 insertions, 14 deletions
diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index e0b45b93327b..cf0b5921cf0f 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -17,22 +17,12 @@
17 */ 17 */
18 18
19#include <linux/module.h> 19#include <linux/module.h>
20#include <linux/string.h>
21#include <linux/fs.h>
22#include <linux/time.h>
23#include <linux/jbd.h>
24#include <linux/ext3_fs.h>
25#include <linux/ext3_jbd.h>
26#include <linux/slab.h>
27#include <linux/init.h>
28#include <linux/blkdev.h> 20#include <linux/blkdev.h>
29#include <linux/parser.h> 21#include <linux/parser.h>
30#include <linux/buffer_head.h>
31#include <linux/exportfs.h> 22#include <linux/exportfs.h>
32#include <linux/vfs.h> 23#include <linux/statfs.h>
33#include <linux/random.h> 24#include <linux/random.h>
34#include <linux/mount.h> 25#include <linux/mount.h>
35#include <linux/namei.h>
36#include <linux/quotaops.h> 26#include <linux/quotaops.h>
37#include <linux/seq_file.h> 27#include <linux/seq_file.h>
38#include <linux/log2.h> 28#include <linux/log2.h>
@@ -40,13 +30,13 @@
40 30
41#include <asm/uaccess.h> 31#include <asm/uaccess.h>
42 32
33#define CREATE_TRACE_POINTS
34
35#include "ext3.h"
43#include "xattr.h" 36#include "xattr.h"
44#include "acl.h" 37#include "acl.h"
45#include "namei.h" 38#include "namei.h"
46 39
47#define CREATE_TRACE_POINTS
48#include <trace/events/ext3.h>
49
50#ifdef CONFIG_EXT3_DEFAULTS_TO_ORDERED 40#ifdef CONFIG_EXT3_DEFAULTS_TO_ORDERED
51 #define EXT3_MOUNT_DEFAULT_DATA_MODE EXT3_MOUNT_ORDERED_DATA 41 #define EXT3_MOUNT_DEFAULT_DATA_MODE EXT3_MOUNT_ORDERED_DATA
52#else 42#else