ovl: factor out ovl_map_dev_ino() helper
authorAmir Goldstein <amir73il@gmail.com>
Wed, 8 Nov 2017 17:39:51 +0000 (19:39 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 12 Apr 2018 10:04:50 +0000 (12:04 +0200)
commitda309e8c055de8d6461ae01764a3352c77878735
tree15c31ab13375f887e3fed4847611707856270c1a
parent8f35cf51cd24a08e3d5b97e7253c93a5c90a4c1e
ovl: factor out ovl_map_dev_ino() helper

A helper for ovl_getattr() to map the values of st_dev and st_ino
according to constant st_ino rules.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/inode.c
fs/overlayfs/overlayfs.h
fs/overlayfs/util.c