ovl: move some common code in a function
authorVivek Goyal <vgoyal@redhat.com>
Thu, 16 Jun 2016 14:09:14 +0000 (10:09 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 29 Jul 2016 10:05:23 +0000 (12:05 +0200)
commit72e48481815eeca72fc886b3be91301ad87d6aeb
tree1ee7b64d9bab4ee00d5d42b9abeafdb56a586372
parent58ed4e70f253d80ed72faba7873dc11603b398bc
ovl: move some common code in a function

ovl_create_upper() and ovl_create_over_whiteout() seem to be sharing some
common code which can be moved into a separate function.  No functionality
change.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/dir.c