projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
409e185
)
[GFS2] Mark nlink cleared so VFS sees it happen
author
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 2 Oct 2006 20:01:53 +0000
(16:01 -0400)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 2 Oct 2006 20:01:53 +0000
(16:01 -0400)
This does nothing atm, but will be required for later support of
r/o bind mounts.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/gfs2/inode.c
b/fs/gfs2/inode.c
index 660dc81849a67248b19b39c4af357df71e2dd21c..81a92116594133e8a0613fb9425955a1657f37e5 100644
(file)
--- a/
fs/gfs2/inode.c
+++ b/
fs/gfs2/inode.c
@@
-353,6
+353,7
@@
int gfs2_change_nlink(struct gfs2_inode *ip, int diff)
if (error)
goto out_norgrp;
+ clear_nlink(&ip->i_inode);
gfs2_unlink_di(&ip->i_inode); /* mark inode unlinked */
gfs2_glock_dq_uninit(&rg_gh);
out_norgrp:
This page took
0.02588 seconds
and
5
git commands to generate.