diff options
| author | Takashi Iwai <tiwai@suse.de> | 2012-09-15 02:24:42 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2012-09-15 02:24:42 -0400 |
| commit | 5d037f9064a8f3b9abbe383cdfb35e159d813711 (patch) | |
| tree | 2a2445271ee818c360c42408a324d2945a6dd9f7 /fs/ext3 | |
| parent | 64f1e00d8edb54f5d25fb0114a46050fb8340df4 (diff) | |
| parent | 985b11fa8064d55d0d5a84e68667434598911bb2 (diff) | |
Merge tag 'asoc-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Updates for 3.6
A bigger set of updates than I'm entirely comfortable with - things
backed up a bit due to travel. As ever the majority of these are small,
focused updates for specific drivers though there are a couple of core
changes. There's been good exposure in -next.
The AT91 patch fixes a build break.
Diffstat (limited to 'fs/ext3')
| -rw-r--r-- | fs/ext3/inode.c | 8 | ||||
| -rw-r--r-- | fs/ext3/super.c | 11 |
2 files changed, 0 insertions, 19 deletions
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index 9a4a5c48b1c9..a07597307fd1 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c | |||
| @@ -3459,14 +3459,6 @@ ext3_reserve_inode_write(handle_t *handle, struct inode *inode, | |||
| 3459 | * inode out, but prune_icache isn't a user-visible syncing function. | 3459 | * inode out, but prune_icache isn't a user-visible syncing function. |
| 3460 | * Whenever the user wants stuff synced (sys_sync, sys_msync, sys_fsync) | 3460 | * Whenever the user wants stuff synced (sys_sync, sys_msync, sys_fsync) |
| 3461 | * we start and wait on commits. | 3461 | * we start and wait on commits. |
| 3462 | * | ||
| 3463 | * Is this efficient/effective? Well, we're being nice to the system | ||
| 3464 | * by cleaning up our inodes proactively so they can be reaped | ||
| 3465 | * without I/O. But we are potentially leaving up to five seconds' | ||
| 3466 | * worth of inodes floating about which prune_icache wants us to | ||
| 3467 | * write out. One way to fix that would be to get prune_icache() | ||
| 3468 | * to do a write_super() to free up some memory. It has the desired | ||
| 3469 | * effect. | ||
| 3470 | */ | 3462 | */ |
| 3471 | int ext3_mark_inode_dirty(handle_t *handle, struct inode *inode) | 3463 | int ext3_mark_inode_dirty(handle_t *handle, struct inode *inode) |
| 3472 | { | 3464 | { |
diff --git a/fs/ext3/super.c b/fs/ext3/super.c index ff9bcdc5b0d5..8c892e93d8e7 100644 --- a/fs/ext3/super.c +++ b/fs/ext3/super.c | |||
| @@ -64,11 +64,6 @@ static int ext3_freeze(struct super_block *sb); | |||
| 64 | 64 | ||
| 65 | /* | 65 | /* |
| 66 | * Wrappers for journal_start/end. | 66 | * Wrappers for journal_start/end. |
| 67 | * | ||
| 68 | * The only special thing we need to do here is to make sure that all | ||
| 69 | * journal_end calls result in the superblock being marked dirty, so | ||
| 70 | * that sync() will call the filesystem's write_super callback if | ||
| 71 | * appropriate. | ||
| 72 | */ | 67 | */ |
| 73 | handle_t *ext3_journal_start_sb(struct super_block *sb, int nblocks) | 68 | handle_t *ext3_journal_start_sb(struct super_block *sb, int nblocks) |
| 74 | { | 69 | { |
| @@ -90,12 +85,6 @@ handle_t *ext3_journal_start_sb(struct super_block *sb, int nblocks) | |||
| 90 | return journal_start(journal, nblocks); | 85 | return journal_start(journal, nblocks); |
| 91 | } | 86 | } |
| 92 | 87 | ||
| 93 | /* | ||
| 94 | * The only special thing we need to do here is to make sure that all | ||
| 95 | * journal_stop calls result in the superblock being marked dirty, so | ||
| 96 | * that sync() will call the filesystem's write_super callback if | ||
| 97 | * appropriate. | ||
| 98 | */ | ||
| 99 | int __ext3_journal_stop(const char *where, handle_t *handle) | 88 | int __ext3_journal_stop(const char *where, handle_t *handle) |
| 100 | { | 89 | { |
| 101 | struct super_block *sb; | 90 | struct super_block *sb; |
