X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fext2%2Facl.c;h=89d1df91411f6e9a35655c6a8feda7578c0d41db;hb=70790a4b5cd6c0291e5b1a2836e2832d46036ac6;hp=091a3175dce3cb07ddd015032876cec7938cc710;hpb=413ba3004a4036bb5d6e52d2faa2b19cb13561dc;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: