bug fix: prevent null mntget warning messages in unionfs_lookup_backend
authorErez_Zadok <ezk@cs.sunysb.edu>
Mon, 28 May 2007 23:38:14 +0000 (19:38 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 02:29:51 +0000 (21:29 -0500)
commit148b2ac7f59dac28f0cb27f3e2cfc6346b18f690
treeee35bbeb36e75d749bcf733379eb807d7bc153b6
parentef06e93de8c8b5689462e39640585b9477424b9e
bug fix: prevent null mntget warning messages in unionfs_lookup_backend

Don't try to mntget a lower mnt at a point where the lower mnts don't yet
exist (the callers will have them later on).  Instead, get the lower mnt of
the sb->s_root.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/lookup.c