• Nick Piggin's avatar
    fs: anon_inodes implement dname · b9aff027
    Nick Piggin authored
    Add a d_dname method for anon_inodes filesystem, the same way pipefs and
    sockfs pseudo filesystems.  This allows us to remove the DCACHE_UNHASHED
    hack from anon_inodes.c (see next patch).
    [AV: inumber is useless here, dropped from anon_inodefs_dname()]
    Signed-off-by: default avatarNick Piggin <npiggin@suse.de>
    Cc: Miklos Szeredi <mszeredi@suse.cz>
    Cc: Davide Libenzi <davidel@xmailserver.org>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Jens Axboe <jens.axboe@oracle.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
anon_inodes.c 6.84 KB