Skip to contentSkip to conversation

nilfs2: fix issue with chmod command

RFC PATCH In review Vyacheslav Dubeyko 1 participant 1 message Jan 10, 2014 NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

RFC PATCH v2 16/17 nilfs2: fix issue with chmod command

From: Vyacheslav Dubeyko <[email protected]>
Subject: [RFC][STEP 1][PATCH v2 16/17] nilfs2: fix issue with chmod command

This patch fix issue with "Operation not supported" message for the case of trying to use chmod command for NILFS2 volume that it doesn't contain xafile.

---
 fs/nilfs2/acl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/nilfs2/acl.c +1 -1
index 95b3601..7c3f366 100644
@@ -185,7 +185,7 @@ int nilfs_acl_chmod(struct inode *inode)
 	struct posix_acl *acl;
 
 	if (!nilfs_has_xafile(nilfs))
-		return -EOPNOTSUPP;
+		return 0;
 
 	if (S_ISLNK(inode->i_mode))
 		return -EOPNOTSUPP;
Signature · 8 lines
1.7.9.5



--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html