summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2009-12-18 10:24:55 +0800
committerJoel Becker <joel.becker@oracle.com>2009-12-18 13:32:28 -0800
commit10cf1a02f444fdcd50be47cce3fa8bf08251dd9c (patch)
tree88e014a00955835988b7bc39a388846ebb0a778a /fs/reiserfs
parentc7d260afcbc0f9f4074e74796d4e3646875c08e1 (diff)
ocfs2: Set i_nlink properly during reflink.
We create a file in orphan dir for reflink so that if there is any error, we don't create any wrong dentry in the dir. But actually the file in orphan dir should be i_nlink = 0 so that it can be replayed and freed successfully. This patch first set i_nlink to 0 when creating the file in orphan dir and then set it to 1(reflink now only works for regular file) when we move it to the dest dir. Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions