X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fext2%2Facl.c;h=89d1df91411f6e9a35655c6a8feda7578c0d41db;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=091a3175dce3cb07ddd015032876cec7938cc710;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/fs/ext2/acl.c b/fs/ext2/acl.c index 091a3175d..89d1df914 100644 --- a/fs/ext2/acl.c +++ b/fs/ext2/acl.c @@ -161,7 +161,7 @@ ext2_get_acl(struct inode *inode, int type) int retval; if (!test_opt(inode->i_sb, POSIX_ACL)) - return 0; + return NULL; switch(type) { case ACL_TYPE_ACCESS: