diff options
author | Alexander Shishkin <virtuoso@slind.org> | 2010-08-17 18:08:35 +0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-08-18 09:01:33 +0400 |
commit | b845ff8f3ea2988ad5041315e2d35298e85cbc2f (patch) | |
tree | b2b4c7aaa45281ad8e0b1f39679ea7e2ff58da7e /drivers/dio | |
parent | f4ae2faa40199b97b12f508234640bc565d166f8 (diff) | |
download | linux-b845ff8f3ea2988ad5041315e2d35298e85cbc2f.tar.xz |
cramfs: only unlock new inodes
Commit 77b8a75f5bb introduced a warning at fs/inode.c:692 unlock_new_inode(),
caused by unlock_new_inode() being called on existing inodes as well.
This patch changes setup_inode() to only call unlock_new_inode() for I_NEW
inodes.
Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions