commit | 06ee5c75b57564435933fc0ffa72dc18a2fda0e7 | [log] [tgz] |
---|---|---|
author | Joseph Qi <[email protected]> | Mon Feb 16 15:59:54 2015 -0800 |
committer | Linus Torvalds <[email protected]> | Mon Feb 16 17:56:04 2015 -0800 |
tree | 2c59e53d305f97f8d1f15bff1e1903d85d251f1d | |
parent | 026749a86ebff68cb2accdcd29872d36ac148920 [diff] |
ocfs2: add functions to add and remove inode in orphan dir Add functions to add inode to orphan dir and remove inode in orphan dir. Here we do not call ocfs2_prepare_orphan_dir and ocfs2_orphan_add directly. Because append O_DIRECT will add inode to orphan two and may result in more than one orphan entry for the same inode. [[email protected]: avoid dynamic stack allocation] Signed-off-by: Joseph Qi <[email protected]> Cc: Weiwei Wang <[email protected]> Cc: Junxiao Bi <[email protected]> Cc: Joel Becker <[email protected]> Cc: Mark Fasheh <[email protected]> Cc: Xuejiufei <[email protected]> Cc: alex chen <[email protected]> Cc: Fengguang Wu <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>