Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755815AbbLAJos (ORCPT ); Tue, 1 Dec 2015 04:44:48 -0500 Received: from tundra.namei.org ([65.99.196.166]:37344 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754143AbbLAJoq (ORCPT ); Tue, 1 Dec 2015 04:44:46 -0500 Date: Tue, 1 Dec 2015 20:43:59 +1100 (AEDT) From: James Morris To: Andreas Gruenbacher cc: Alexander Viro , Christoph Hellwig , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Hugh Dickins , linux-mm@kvack.org Subject: Re: [PATCH 06/10] tmpfs: Use xattr handler infrastructure In-Reply-To: <1448919823-27103-7-git-send-email-agruenba@redhat.com> Message-ID: References: <1448919823-27103-1-git-send-email-agruenba@redhat.com> <1448919823-27103-7-git-send-email-agruenba@redhat.com> User-Agent: Alpine 2.20 (LRH 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 794 Lines: 23 On Mon, 30 Nov 2015, Andreas Gruenbacher wrote: > Use the VFS xattr handler infrastructure and get rid of similar code in > the filesystem. For implementing shmem_xattr_handler_set, we need a > version of simple_xattr_set which removes the attribute when value is > NULL. Use this to implement kernfs_iop_removexattr as well. > > Signed-off-by: Andreas Gruenbacher > Cc: Hugh Dickins > Cc: linux-mm@kvack.org Reviewed-by: James Morris -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/