diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-05 16:20:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-05 16:20:53 -0500 |
commit | e213e26ab3988c516c06eba4dcd030ac052f6dc9 (patch) | |
tree | 6e26fbdbb842b387697d73daf6e70cf718269a77 /fs/inode.c | |
parent | c812a51d11bbe983f4c24e32b59b265705ddd3c2 (diff) | |
parent | efd8f0e6f6c1faa041f228d7113bd3a9db802d49 (diff) |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6: (33 commits)
quota: stop using QUOTA_OK / NO_QUOTA
dquot: cleanup dquot initialize routine
dquot: move dquot initialization responsibility into the filesystem
dquot: cleanup dquot drop routine
dquot: move dquot drop responsibility into the filesystem
dquot: cleanup dquot transfer routine
dquot: move dquot transfer responsibility into the filesystem
dquot: cleanup inode allocation / freeing routines
dquot: cleanup space allocation / freeing routines
ext3: add writepage sanity checks
ext3: Truncate allocated blocks if direct IO write fails to update i_size
quota: Properly invalidate caches even for filesystems with blocksize < pagesize
quota: generalize quota transfer interface
quota: sb_quota state flags cleanup
jbd: Delay discarding buffers in journal_unmap_buffer
ext3: quota_write cross block boundary behaviour
quota: drop permission checks from xfs_fs_set_xstate/xfs_fs_set_xquota
quota: split out compat_sys_quotactl support from quota.c
quota: split out netlink notification support from quota.c
quota: remove invalid optimization from quota_sync_all
...
Fixed trivial conflicts in fs/namei.c and fs/ufs/inode.c
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/inode.c b/fs/inode.c index 03dfeb2e3928..407bf392e20a 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -8,7 +8,6 @@ | |||
8 | #include <linux/mm.h> | 8 | #include <linux/mm.h> |
9 | #include <linux/dcache.h> | 9 | #include <linux/dcache.h> |
10 | #include <linux/init.h> | 10 | #include <linux/init.h> |
11 | #include <linux/quotaops.h> | ||
12 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
13 | #include <linux/writeback.h> | 12 | #include <linux/writeback.h> |
14 | #include <linux/module.h> | 13 | #include <linux/module.h> |
@@ -314,7 +313,6 @@ void clear_inode(struct inode *inode) | |||
314 | BUG_ON(!(inode->i_state & I_FREEING)); | 313 | BUG_ON(!(inode->i_state & I_FREEING)); |
315 | BUG_ON(inode->i_state & I_CLEAR); | 314 | BUG_ON(inode->i_state & I_CLEAR); |
316 | inode_sync_wait(inode); | 315 | inode_sync_wait(inode); |
317 | vfs_dq_drop(inode); | ||
318 | if (inode->i_sb->s_op->clear_inode) | 316 | if (inode->i_sb->s_op->clear_inode) |
319 | inode->i_sb->s_op->clear_inode(inode); | 317 | inode->i_sb->s_op->clear_inode(inode); |
320 | if (S_ISBLK(inode->i_mode) && inode->i_bdev) | 318 | if (S_ISBLK(inode->i_mode) && inode->i_bdev) |
@@ -1211,8 +1209,6 @@ void generic_delete_inode(struct inode *inode) | |||
1211 | 1209 | ||
1212 | if (op->delete_inode) { | 1210 | if (op->delete_inode) { |
1213 | void (*delete)(struct inode *) = op->delete_inode; | 1211 | void (*delete)(struct inode *) = op->delete_inode; |
1214 | if (!is_bad_inode(inode)) | ||
1215 | vfs_dq_init(inode); | ||
1216 | /* Filesystems implementing their own | 1212 | /* Filesystems implementing their own |
1217 | * s_op->delete_inode are required to call | 1213 | * s_op->delete_inode are required to call |
1218 | * truncate_inode_pages and clear_inode() | 1214 | * truncate_inode_pages and clear_inode() |