diff options
author | Tony Lindgren <tony@atomide.com> | 2013-06-07 15:05:36 -0700 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-06-07 15:05:36 -0700 |
commit | 17f545ca1769e268e0190d88ab94dc2a117df280 (patch) | |
tree | 34b06d75d4c95823f7dbb0017142e5b59cd88f1b /fs/pnode.c | |
parent | 2d403f7b198163d14a37ab79de33e27e390bb3b1 (diff) | |
parent | 8341613afbc8d65bca8c81158edfb49f36b7ad92 (diff) |
Merge branch 'dts-fixes-for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt into omap-for-v3.10/fixes
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) if (peer_mnt == mnt) peer_mnt = NULL; } - if (IS_MNT_SHARED(mnt) && list_empty(&mnt->mnt_share)) + if (mnt->mnt_group_id && IS_MNT_SHARED(mnt) && + list_empty(&mnt->mnt_share)) mnt_release_group_id(mnt); list_del_init(&mnt->mnt_share); |