]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ovl: using posix_acl_xattr_size() to get size instead of posix_acl_to_xattr()
authorChengguang Xu <cgxu519@gmx.com>
Fri, 22 Jun 2018 01:49:36 +0000 (09:49 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 26 Oct 2018 21:34:40 +0000 (23:34 +0200)
commit14fa085640a7eb55431eec8a0273bbf0c463ce46
treec2e8695de33751c1a12598816a954b57fab1b67a
parent1e92e3072c1456abedf51c9dedd245d2ba0daa4f
ovl: using posix_acl_xattr_size() to get size instead of posix_acl_to_xattr()

There is no functional change but it seems better to get size by calling
posix_acl_xattr_size() instead of calling posix_acl_to_xattr() with
NULL buffer argument. Additionally, remove unnecessary assignments.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/dir.c