Btrfs: Add readonly inode flag
authorYan <yanzheng@21cn.com>
Mon, 14 Jan 2008 18:26:08 +0000 (13:26 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:59 +0000 (11:03 -0400)
commitfdebe2bd70047e057827cba85ba31b2545e31900
tree7daee1b3fc0060d4ae84925a6f8358b4ff95d7b4
parent744f52f997b21de2a01931f79cf6c198bf688120
Btrfs: Add readonly inode flag

This patch adds readonly inode flag support.  A file with this flag
can't be modified, but can be deleted.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/inode.c