summaryrefslogtreecommitdiff
path: root/samples/kdb
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-03-04 09:18:19 +0300
committerBob Copeland <me@bobcopeland.com>2011-03-06 00:23:39 +0300
commitcdb26496dba00d5c4375261be6518b3e94260444 (patch)
treee712f23460c1632abbc02dab237eaebe924c60e1 /samples/kdb
parent013e4f4a285d8c7d952d8d7be9f10783a85b5d3c (diff)
downloadlinux-cdb26496dba00d5c4375261be6518b3e94260444.tar.xz
omfs: stop playing silly buggers with omfs_unlink() in ->rename()
Since omfs directories are hashes of inodes and name is part of inode, we have to remove inode from old directory before we can put it into new one / under new name. So instead of bump i_nlink call omfs_unlink, which does omfs_delete_entry() decrement i_nlink and mark parent dirty in case of success decrement i_nlink if omfs_unlink failed and hadn't done it itself let's just call omfs_delete_entry() and dirty the parent ourselves... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Bob Copeland <me@bobcopeland.com>
Diffstat (limited to 'samples/kdb')
0 files changed, 0 insertions, 0 deletions