GFS2: Add "top dir" flag support
authorSteven Whitehouse <steve@chygwyn.com>
Mon, 28 May 2012 14:26:56 +0000 (15:26 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 6 Jun 2012 10:27:36 +0000 (11:27 +0100)
commit23d0bb834e264f38335f19fe601564b8422431e7
treeb6c93a163ef1e24cae77d4204c15206375e0d175
parent5407e24229408d7586ee451a384fc13e4a2332be
GFS2: Add "top dir" flag support

This patch adds support for the "top dir" flag. Currently this is unused
but a subsequent patch is planned which will add support for the
Orlov allocation policy when allocating subdirectories in a parent
with this flag set.

In order to ensure backward compatible behaviour, mkfs.gfs2 does
not currently tag the root directory with this flag, it must always be
set manually.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/file.c
include/linux/gfs2_ondisk.h