diff options
author | Tony Lindgren <tony@atomide.com> | 2013-06-07 12:12:25 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-06-07 12:12:25 -0400 |
commit | bea6412a994a8f49d81bc103907563ab9f94c371 (patch) | |
tree | 93afcafccce0f149d4221ec4bb6156dcdafdb0e5 /fs/pnode.c | |
parent | 82c5cde1c4b01a62c9a19c9118b4b434c333ce86 (diff) | |
parent | 49006bfd31f728a0dfdef6ef41635f0e6c546155 (diff) |
Merge branch 'am33xx' into omap-for-v3.11/cleanup
Diffstat (limited to 'fs/pnode.c')
-rw-r--r-- | fs/pnode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/pnode.c b/fs/pnode.c index 3d2a7141b87a..9af0df15256e 100644 --- a/fs/pnode.c +++ b/fs/pnode.c | |||
@@ -83,7 +83,8 @@ static int do_make_slave(struct mount *mnt) | |||
83 | if (peer_mnt == mnt) | 83 | if (peer_mnt == mnt) |
84 | peer_mnt = NULL; | 84 | peer_mnt = NULL; |
85 | } | 85 | } |
86 | if (IS_MNT_SHARED(mnt) && list_empty(&mnt->mnt_share)) | 86 | if (mnt->mnt_group_id && IS_MNT_SHARED(mnt) && |
87 | list_empty(&mnt->mnt_share)) | ||
87 | mnt_release_group_id(mnt); | 88 | mnt_release_group_id(mnt); |
88 | 89 | ||
89 | list_del_init(&mnt->mnt_share); | 90 | list_del_init(&mnt->mnt_share); |