diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-10-02 20:01:53 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-10-02 20:01:53 (GMT) |
commit | f92a0b6ff43e8e07bbd5b1d2dd1cff130014f3c7 (patch) | |
tree | f2df811b31bea986185f8a0b9364b0c8dccb96d2 /fs/gfs2/inode.c | |
parent | 409e185d2370356ac2e4c7160e002ac5340b6709 (diff) | |
download | linux-f92a0b6ff43e8e07bbd5b1d2dd1cff130014f3c7.tar.xz |
[GFS2] Mark nlink cleared so VFS sees it happen
This does nothing atm, but will be required for later support of
r/o bind mounts.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r-- | fs/gfs2/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index 660dc81..81a9211 100644 --- 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: |