diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-04-07 04:01:44 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-07 17:31:17 +0200 |
commit | a2e7d2df82cafb76f76809ddf6e2caa8afe4f75e (patch) | |
tree | ac16ef25c4d3e4eaf55090b57035d292ec5bc9fb /fs/nilfs2/sufile.c | |
parent | nilfs2: fix problems of memory allocation in ioctl (diff) | |
download | linux-a2e7d2df82cafb76f76809ddf6e2caa8afe4f75e.tar.xz linux-a2e7d2df82cafb76f76809ddf6e2caa8afe4f75e.zip |
nilfs2: cleanup nilfs_clear_inode
This will remove the following unnecessary locks and cleanup code in
nilfs_clear_inode():
- unnecessary protection using nilfs_transaction_begin() and
nilfs_transaction_end().
- cleanup code of i_dirty list field which is never chained
when this function is called.
- spinlock used when releasing i_bh field.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/sufile.c')
0 files changed, 0 insertions, 0 deletions