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>
Sun, 24 Nov 2013 19:19:14 +0000 (14:19 -0500)
commit56e5daaf282bd78ff7c34ced62510703d7748058
tree470954e324fc73393150d3f7acc44bf766eb5e1a
parent6202542478a6420d8b52f1ada429cd45ada405de
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