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>
Fri, 29 Apr 2011 02:23:55 +0000 (22:23 -0400)
commit1b8e09786ce40f14324386e6cdbb4f7fcc930f49
treec9be7b2f5693ef1f1f6406b2bfad8c021c2ee6b1
parent0a9aa0ef0eb61156bce8a06b91bef3e6caddb6b1
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