diff options
-rw-r--r-- | fs/nfs/nfs3acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs3acl.c b/fs/nfs/nfs3acl.c index 8f854dde4150..d0fec260132a 100644 --- a/fs/nfs/nfs3acl.c +++ b/fs/nfs/nfs3acl.c | |||
@@ -256,7 +256,7 @@ nfs3_list_one_acl(struct inode *inode, int type, const char *name, void *data, | |||
256 | char *p = data + *result; | 256 | char *p = data + *result; |
257 | 257 | ||
258 | acl = get_acl(inode, type); | 258 | acl = get_acl(inode, type); |
259 | if (!acl) | 259 | if (IS_ERR_OR_NULL(acl)) |
260 | return 0; | 260 | return 0; |
261 | 261 | ||
262 | posix_acl_release(acl); | 262 | posix_acl_release(acl); |