aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-01-03 09:08:48 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:58 -0400
commit4313b3994d719fcdeb7e661473019ca3d62e829b (patch)
tree1a18dca96a9f54e8444c4c06c9beda3694bc25d3 /fs/btrfs/inode.c
parent56b453c92fdf51fd3283a2dc2dfbedf36f516031 (diff)
Btrfs: Reduce stack usage in the resizer, fix 32 bit compiles
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 5003a86510a1..b62f35e862bd 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -2108,7 +2108,8 @@ static void btrfs_truncate(struct inode *inode)
2108 btrfs_btree_balance_dirty(root, nr); 2108 btrfs_btree_balance_dirty(root, nr);
2109} 2109}
2110 2110
2111static int create_subvol(struct btrfs_root *root, char *name, int namelen) 2111static int noinline create_subvol(struct btrfs_root *root, char *name,
2112 int namelen)
2112{ 2113{
2113 struct btrfs_trans_handle *trans; 2114 struct btrfs_trans_handle *trans;
2114 struct btrfs_key key; 2115 struct btrfs_key key;
@@ -2492,7 +2493,8 @@ out:
2492 return ret; 2493 return ret;
2493} 2494}
2494 2495
2495static int btrfs_ioctl_snap_create(struct btrfs_root *root, void __user *arg) 2496static int noinline btrfs_ioctl_snap_create(struct btrfs_root *root,
2497 void __user *arg)
2496{ 2498{
2497 struct btrfs_ioctl_vol_args *vol_args; 2499 struct btrfs_ioctl_vol_args *vol_args;
2498 struct btrfs_dir_item *di; 2500 struct btrfs_dir_item *di;