diff options
Diffstat (limited to 'fs/jffs2/xattr.c')
-rw-r--r-- | fs/jffs2/xattr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/jffs2/xattr.c b/fs/jffs2/xattr.c index defb4162c3..00224f3a8d 100644 --- a/fs/jffs2/xattr.c +++ b/fs/jffs2/xattr.c @@ -1110,9 +1110,6 @@ int do_jffs2_setxattr(struct inode *inode, int xprefix, const char *xname, return rc; request = PAD(sizeof(struct jffs2_raw_xattr) + strlen(xname) + 1 + size); - if (request > c->sector_size - c->cleanmarker_size) - return -ERANGE; - rc = jffs2_reserve_space(c, request, &length, ALLOC_NORMAL, JFFS2_SUMMARY_XATTR_SIZE); if (rc) { |